Skip to content

Commit 8396ada

Browse files
committed
Update field in context from openshift-client-python (api_url -> api_server)
related to openshift/openshift-client-python#141
1 parent b9fab88 commit 8396ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testsuite/openshift/crd/apicast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def create_instance(cls, openshift: OpenShiftClient, name, labels=None):
3030
# Ensure that the object is created with the correct execution context
3131
context = Context()
3232
context.project_name = openshift.project_name
33-
context.api_url = openshift.server_url
33+
context.api_server = openshift.server_url
3434
context.token = openshift.token
3535

3636
return cls(model, context=context)

0 commit comments

Comments
 (0)