Skip to content

Commit 0b02c70

Browse files
duckfezartemrys
andauthored
fix: add 0.0.10 as a known schemaVersion (#1981)
### PR Type **What kind of change does this PR introduce?** * [ ] Feature * [X] Bug Fix * [ ] Refactoring (no functional or API changes) * [ ] Documentation Update * [ ] Maintenance (dependency updates, CI, etc.) ## Summary ### Changes Adds `0.0.10` as an expected schemaVersion ## Checklist If an item doesn't apply to your changes, leave it unchecked. ### Review * [X] self-review - I have performed a self-review of this change according to the [development guidelines](https://splunk.github.io/addonfactory-ucc-generator/contributing/#development-guidelines) * [X] Changes are documented. The documentation is understandable, examples work [(more info)](https://splunk.github.io/addonfactory-ucc-generator/contributing/#documentation-guidelines) * [X] PR title and description follows the [contributing principles](https://splunk.github.io/addonfactory-ucc-generator/contributing/#pull-requests) * [ ] meeting - I have scheduled a meeting or recorded a demo to explain these changes (if there is a video, put a link below and in the ticket) ### Tests See [the testing doc](https://splunk.github.io/addonfactory-ucc-generator/contributing/#build-and-test). * [ ] Unit - tests have been added/modified to cover the changes * [ ] Smoke - tests have been added/modified to cover the changes * [ ] UI - tests have been added/modified to cover the changes * [ ] coverage - I have checked the code coverage of my changes [(see more)](https://splunk.github.io/addonfactory-ucc-generator/contributing/#checking-the-code-coverage) **Demo/meeting:** *Reviewers are encouraged to request meetings or demos if any part of the change is unclear* Co-authored-by: Artem Rys <rysartem@gmail.com>
1 parent eb6afa6 commit 0b02c70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

splunk_add_on_ucc_framework/global_config_update.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def handle_global_config_update(
142142
"0.0.7",
143143
"0.0.8",
144144
"0.0.9",
145+
"0.0.10",
145146
}
146147

147148
if version not in allowed_versions_of_schema_version:
@@ -263,6 +264,8 @@ def handle_global_config_update(
263264
global_config.dump(global_config_path)
264265
logger.info("Updated globalConfig schema to version 0.0.10")
265266

267+
# Make sure as you add new migrations here that you also update
268+
# allowed_versions_of_schema_version above
266269

267270
def _dump_with_migrated_tabs(global_config: GlobalConfig, path: str) -> None:
268271
for i, tab in enumerate(

0 commit comments

Comments
 (0)