Skip to content

Commit

Permalink
feat: modify datasource and plugin_info at info dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMin5 committed Dec 21, 2023
1 parent 6dd5531 commit 3b534f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/spaceone/cost_analysis/info/data_source_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def PluginInfo(vo):
"options": change_struct_type(vo.options),
"metadata": change_struct_type(vo.metadata),
"secret_id": vo.secret_id,
"schema": vo.schema,
"schema_id": vo.schema_id,
"upgrade_mode": vo.upgrade_mode,
}

Expand Down
2 changes: 1 addition & 1 deletion src/spaceone/cost_analysis/model/data_source_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PluginInfo(EmbeddedDocument):
options = DictField(default={})
metadata = DictField(default={})
secret_id = StringField(max_length=40, default=None, null=True)
schema = StringField(max_length=255, default=None, null=True)
schema_id = StringField(max_length=255, default=None, null=True)
upgrade_mode = StringField(
max_length=255, choices=("AUTO", "MANUAL"), default="AUTO"
)
Expand Down

0 comments on commit 3b534f5

Please sign in to comment.