Skip to content

Commit

Permalink
Island: Remove f-string from MONGO_URL
Browse files Browse the repository at this point in the history
Issue: #4170
PR: #4174
  • Loading branch information
ilija-lazoroski authored and mssalvatore committed May 13, 2024
1 parent 3e7073f commit 290fdc7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions monkey/monkey_island/cc/mongo_consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
DEFAULT_MONGO_DB_PORT = 27017
MONGO_URL = os.environ.get(
"MONKEY_MONGO_URL",
f"mongodb://{0}:{1}/{2}".format(
DEFAULT_MONGO_DB_HOST, DEFAULT_MONGO_DB_PORT, DEFAULT_MONGO_DB_NAME
),
f"mongodb://{DEFAULT_MONGO_DB_HOST}:{DEFAULT_MONGO_DB_PORT}/{DEFAULT_MONGO_DB_NAME}",
)

0 comments on commit 290fdc7

Please sign in to comment.