Skip to content

Commit

Permalink
fix(components): fix launch_crd.py to be compatible with kubernetes p…
Browse files Browse the repository at this point in the history
…ython SDK API. Fixes #7984 (#7985)
  • Loading branch information
eundonglee authored Jul 13, 2022
1 parent 8cc822f commit c7bf68e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/kubeflow/common/launch_crd.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ def delete(self, name, namespace):
logger.info("Deleteing %s/%s %s in namespace %s.",
self.group, self.plural, name, namespace)
api_response = self.client.delete_namespaced_custom_object(
self.group,
self.version,
namespace,
self.plural,
name,
body)
group=self.group,
version=self.version,
namespace=namespace,
plural=self.plural,
name=name,
body=body)
logger.info("Deleted %s/%s %s in namespace %s.",
self.group, self.plural, name, namespace)
return api_response
Expand Down

0 comments on commit c7bf68e

Please sign in to comment.