Skip to content

Commit

Permalink
Do not provide a default lease
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Pike committed Apr 8, 2016
1 parent a557bde commit 450f867
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions builtin/logical/rabbitmq/path_role_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package rabbitmq

import (
"fmt"
"time"

"github.com/hashicorp/uuid"
"github.com/hashicorp/vault/logical"
Expand Down Expand Up @@ -48,7 +47,7 @@ func (b *backend) pathRoleCreateRead(
return nil, err
}
if lease == nil {
lease = &configLease{Lease: 1 * time.Hour}
lease = &configLease{}
}

displayName := req.DisplayName
Expand Down

0 comments on commit 450f867

Please sign in to comment.