Skip to content

Commit 28e1c80

Browse files
authored
Fix is_default_architecture_static call (#640)
`is_default_architecture_static` is not being called properly in the test condition.
1 parent 3989e9c commit 28e1c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/mongodb-kubernetes-tests/tests/opsmanager/om_ops_manager_upgrade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ class TestOpsManagerVersionUpgrade:
278278
agent_version = None
279279

280280
def test_agent_version(self, mdb: MongoDB):
281-
if is_default_architecture_static:
281+
if is_default_architecture_static():
282282
# Containers will not call the upgrade endpoint. Therefore, agent_version is not part of AC
283283
pod = client.CoreV1Api().read_namespaced_pod(mdb.name + "-0", mdb.namespace)
284284
image_tag = pod.spec.containers[0].image.split(":")[-1]

0 commit comments

Comments
 (0)