Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default_workspace to possible default workspace names #394

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

igor-davidyuk
Copy link
Contributor

No description provided.

Signed-off-by: Igor Davidyuk <igor.davidyuk@intel.com>
@ljcornel ljcornel merged commit ea72d25 into main Apr 22, 2024
10 checks passed
@ljcornel ljcornel deleted the idavidyu/fix-default-workspace-names-list branch April 22, 2024 07:15
@@ -35,7 +35,7 @@ def get_default_workspace_id(rest_session: GetiSession) -> str:
f"Unexpected response from cluster: {workspaces}. Expected to receive a "
f"dictionary containing workspace data."
)
default_workspace_names = ["default", "default workspace"]
default_workspace_names = ["default", "default workspace", "default_workspace"]
Copy link
Contributor

@Radwan-Ibrahim Radwan-Ibrahim Apr 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ljcornel @igor-davidyuk we are going to allow the users to change the workspace name soon, so I would recommend not using the names for getting the default one. It is better to ask the user the choose the workspace, or sorting them using he creation time and taking the oldest one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants