Skip to content

Commit

Permalink
revert back to early initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnayak committed Jun 11, 2018
1 parent 49dcf09 commit 401dab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/credential/approle/path_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (b *backend) pathLoginUpdate(ctx context.Context, req *logical.Request, dat
return logical.ErrorResponse("invalid role ID"), nil
}

var metadata map[string]string
metadata := make(map[string]string)
if role.BindSecretID {
secretID := strings.TrimSpace(data.Get("secret_id").(string))
if secretID == "" {
Expand Down

0 comments on commit 401dab1

Please sign in to comment.