Zheng Qu
commited on
Commit
•
fcf296b
1
Parent(s):
fb9f53e
testmongdb port
Browse files- app_utils.py +2 -2
app_utils.py
CHANGED
@@ -45,9 +45,9 @@ MongoDBDomain = os.environ.get("MONGODB_DOMAIN")
|
|
45 |
port_number = 27017 # Default MongoDB port
|
46 |
|
47 |
if is_mongodb_port_open(MongoDBDomain, port_number):
|
48 |
-
print(f"The MongoDB port {port_number} is open.")
|
49 |
else:
|
50 |
-
print(f"The MongoDB port {port_number} on is blocked.")
|
51 |
|
52 |
|
53 |
def explore_persistent_volumes():
|
|
|
45 |
port_number = 27017 # Default MongoDB port
|
46 |
|
47 |
if is_mongodb_port_open(MongoDBDomain, port_number):
|
48 |
+
print(f"The MongoDB {MongoDBDomain} port {port_number} is open.")
|
49 |
else:
|
50 |
+
print(f"The MongoDB {MongoDBDomain} port {port_number} on is blocked.")
|
51 |
|
52 |
|
53 |
def explore_persistent_volumes():
|