Skip to content

Commit

Permalink
make fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
daviesl2 committed Jun 28, 2019
1 parent a3311cc commit 7d7ca87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion path_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (b *kubeAuthBackend) pathLogin() framework.OperationFunc {
"service_account_name": serviceAccount.name(),
"service_account_namespace": serviceAccount.namespace(),
"service_account_secret_name": serviceAccount.SecretName,
"role": roleName,
"role": roleName,
},
DisplayName: fmt.Sprintf("%s-%s", serviceAccount.namespace(), serviceAccount.name()),
LeaseOptions: logical.LeaseOptions{
Expand Down
8 changes: 4 additions & 4 deletions path_role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ func TestPath_Create(t *testing.T) {
Period: 3 * time.Second,
ServiceAccountNames: []string{"name"},
ServiceAccountNamespaces: []string{"namespace"},
TTL: 1 * time.Second,
MaxTTL: 5 * time.Second,
NumUses: 12,
BoundCIDRs: []*sockaddr.SockAddrMarshaler{},
TTL: 1 * time.Second,
MaxTTL: 5 * time.Second,
NumUses: 12,
BoundCIDRs: []*sockaddr.SockAddrMarshaler{},
}

req := &logical.Request{
Expand Down

0 comments on commit 7d7ca87

Please sign in to comment.