Skip to content

Commit 6bf9899

Browse files
committed
Fixed resource instances table name
1 parent acd920d commit 6bf9899

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

horizon/data_manager/update_operations.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def _get_operations_for_update_resource_instance(
118118
if attributes:
119119
yield InsertOperation(
120120
fact=Fact(
121-
type="resource_instance",
121+
type="instances",
122122
attributes={
123123
"id": instance_key,
124124
"attributes": json.dumps(attributes),
@@ -131,7 +131,7 @@ def _get_operations_for_update_resource_instance(
131131
# We cascade the deletion to all related facts
132132
yield DeleteOperation(
133133
fact=Fact(
134-
type="resource_instance",
134+
type="instances",
135135
attributes={"id": instance_key},
136136
),
137137
)

0 commit comments

Comments
 (0)