Skip to content

Commit 3983452

Browse files
committed
Changed error message for cluster configuration
1 parent 3ba4b93 commit 3983452

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/codeflare_sdk/cluster/cluster.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ def create_app_wrapper(self):
7070
if self.config.namespace is None:
7171
self.config.namespace = get_current_namespace()
7272
if self.config.namespace is None:
73-
print(
74-
"Unable to find current namespace please specify with namespace=<your_current_namespace>"
75-
)
73+
print("Please specify with namespace=<your_current_namespace>")
7674
elif type(self.config.namespace) is not str:
7775
raise TypeError(
7876
f"Namespace {self.config.namespace} is of type {type(self.config.namespace)}. Check your Kubernetes Authentication."

0 commit comments

Comments
 (0)