Skip to content

Commit fc02ad3

Browse files
authored
Update contentctl.py
1 parent f81e40a commit fc02ad3

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
@@ -233,7 +233,7 @@ def main():
233233
"test_servers": test_servers.model_construct(**t.__dict__),
234234
"release_notes": release_notes.model_construct(**config_obj),
235235
"deploy_acs": deploy_acs.model_construct(**t.__dict__),
236-
"recognize": tyro.conf.Subcommand(),
236+
"recognize": tyro.conf.subcommand(),
237237
}
238238
)
239239

@@ -264,7 +264,7 @@ def main():
264264
deploy_acs_func(updated_config)
265265
elif type(config) is test or type(config) is test_servers:
266266
test_common_func(config)
267-
elif type(config) is tyro.conf.Subcommand:
267+
elif type(config) is tyro.conf.subcommand:
268268
recognize_func()
269269
else:
270270
raise Exception(f"Unknown command line type '{type(config).__name__}'")

0 commit comments

Comments
 (0)