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

Fix 'vault auth' panic #5473

Merged
merged 1 commit into from
Oct 5, 2018
Merged

Fix 'vault auth' panic #5473

merged 1 commit into from
Oct 5, 2018

Conversation

kalafut
Copy link
Contributor

@kalafut kalafut commented Oct 5, 2018

Running 'vault auth' with no parameters was panicking:

panic: assignment to entry in nil map
	github.com/hashicorp/vault/command/login.go:255 +0xdee

Now it will show help, like other commands with subcommands.

Running 'vault auth' with no parameters was panicking:

panic: assignment to entry in nil map
	github.com/hashicorp/vault/command/login.go:255 +0xdee

Now it will show help.
@kalafut kalafut requested a review from briankassouf October 5, 2018 22:44
@briankassouf briankassouf merged commit c4dc44a into master Oct 5, 2018
@jefferai jefferai added this to the 0.11.3 milestone Oct 8, 2018
@jefferai jefferai deleted the fix-auth-panic branch October 8, 2018 14:01
jefferai pushed a commit that referenced this pull request Oct 8, 2018
Running 'vault auth' with no parameters was panicking:

panic: assignment to entry in nil map
	github.com/hashicorp/vault/command/login.go:255 +0xdee

Now it will show help.
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