Skip to content

Commit b422430

Browse files
committed
Merge branch 'recognize' of github.com:splunk/contentctl into recognize
2 parents 9ff5e2d + fc02ad3 commit b422430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contentctl/contentctl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def main():
241241
"test_servers": test_servers.model_construct(**t.__dict__),
242242
"release_notes": release_notes.model_construct(**config_obj),
243243
"deploy_acs": deploy_acs.model_construct(**t.__dict__),
244-
"recognize": RecognizeCommand(), # Use the dummy subcommand
244+
"recognize": tyro.conf.subcommand(),
245245
}
246246
)
247247

@@ -272,7 +272,7 @@ def main():
272272
deploy_acs_func(updated_config)
273273
elif type(config) is test or type(config) is test_servers:
274274
test_common_func(config)
275-
elif isinstance(config, RecognizeCommand):
275+
elif type(config) is tyro.conf.subcommand:
276276
recognize_func()
277277
else:
278278
raise Exception(f"Unknown command line type '{type(config).__name__}'")

0 commit comments

Comments
 (0)