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

Don't send a name and an ID to DescribeNamespace #1446

Merged
merged 4 commits into from Apr 10, 2021

Conversation

robholland
Copy link
Contributor

What changed?
Option handling for the namespace describe command was improved.

Why?
Before this change we would send the default namespace name alongside a passed namespace ID to the DescribeNamespace call which is invalid. This prevented the namespace describe command from working when trying to use a namespace id.

How did you test it?
Added tests that confirm the correct request fields are sent.

Potential risks

Is hotfix candidate?
No.

@robholland robholland requested a review from a team April 9, 2021 13:51
@alexshtin alexshtin changed the title Don't send a name and an ID to DescribeNamespace. Don't send a name and an ID to DescribeNamespace Apr 9, 2021
tools/cli/namespaceCommands.go Outdated Show resolved Hide resolved
tools/cli/namespaceCommands.go Show resolved Hide resolved
@robholland robholland enabled auto-merge (squash) April 10, 2021 21:07
@robholland robholland merged commit b75a7cf into temporalio:master Apr 10, 2021
@robholland robholland deleted the bug/describe-namespace branch April 10, 2021 21:33
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.

None yet

2 participants