Skip to content

Commit

Permalink
Fix usage of outdated module name (#784)
Browse files Browse the repository at this point in the history
The module `openstack_image_manager.manage` was renamed to
`openstack_image_manager.main` in a previous commit.
A condition checking the module name was fixed to reflect this change.

Signed-off-by: Jan Horstmann <horstmann@osism.tech>
  • Loading branch information
janhorstmann authored Apr 13, 2024
1 parent 1e66716 commit 8b727e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstack_image_manager/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def create_cli_args(
logger.remove()
logger.add(sys.stderr, format=log_fmt, level=level, colorize=True)

if __name__ == "__main__" or __name__ == "openstack_image_manager.manage":
if __name__ == "__main__" or __name__ == "openstack_image_manager.main":
self.main()

def read_image_files(self, return_all_images=False) -> list:
Expand Down

0 comments on commit 8b727e4

Please sign in to comment.