Skip to content

Commit

Permalink
Fix logging (#152)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <berendt@osism.tech>
  • Loading branch information
berendt committed Dec 5, 2023
1 parent fe3a3d8 commit b3df08b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,7 @@ def check_quota(project, cloud):
else:
quotaclass = get_quotaclass("basic")

if quotaclass:
logger.info(f"{project.name} - quotaclass {project.quotaclass}")
else:
logger.warning(
f"{project.name} - quotaclass {project.quotaclass} not defined --> skipping"
)
return
logger.info(f"{project.name} - quotaclass {quotaclass}")

if "quotamultiplier" in project:
multiplier = int(project.quotamultiplier)
Expand Down

0 comments on commit b3df08b

Please sign in to comment.