Skip to content

Commit

Permalink
Fix a bug in creating ingess service
Browse files Browse the repository at this point in the history
  • Loading branch information
nailixing committed May 25, 2020
1 parent 8cc809c commit 3efbff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singa_auto/container/kubernetes_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def update_ingress(self, ingress_name: str, ingress_body: dict):
ingress_list = self.api_instance.list_namespaced_ingress_with_http_info(namespace='default')

if ingress_list[1] != 200:
raise ServiceRequestError("inress response code is not 200")
raise ServiceRequestError("ingress response code is not 200")

# get the ingress name of each ingress
ingress_names = [ele.metadata.name for ele in ingress_list[0].items]
Expand Down

0 comments on commit 3efbff5

Please sign in to comment.