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

Rename namespace register -> create #80

Merged
merged 3 commits into from
Jan 24, 2023
Merged

Rename namespace register -> create #80

merged 3 commits into from
Jan 24, 2023

Conversation

feedmeapples
Copy link
Contributor

What was changed

Renamed temporal operator namespace register -> temporal operator namespace create

Why?

Consistency with other commands and Temporal Cloud UI

Checklist

  1. Closes

  2. How was this tested:

updated tests

  1. Any docs updates needed?

@@ -33,7 +33,7 @@ func NewNamespaceCommands() []*cli.Command {
},
},
{
Name: "register",
Copy link
Contributor

Choose a reason for hiding this comment

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

We should probably add register as an alias to avoid breaking existing docs etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point, updated

@@ -33,7 +33,7 @@ func NewNamespaceCommands() []*cli.Command {
},
},
{
Name: "register",
Name: "create",
Usage: "Register a new Namespace",
Flags: registerNamespaceFlags,
Copy link
Contributor

Choose a reason for hiding this comment

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

Flags variable should be renamed to createNamespaceFlags

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@feedmeapples feedmeapples merged commit 159b1a4 into main Jan 24, 2023
@feedmeapples feedmeapples deleted the rename branch January 24, 2023 17:36
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.

2 participants