Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmturner committed Sep 8, 2018
1 parent 2bdd861 commit c01bd1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion client/client_ad_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ func TestClient_GetServiceTicket_AD(t *testing.T) {
if err != nil {
t.Errorf("could not decrypt service ticket: %v", err)
}
isPAC, pac, err := tkt.GetPACType(skt, "sysHTTP")
isPAC, pac, e := tkt.GetPACType(skt, "sysHTTP")
if e != nil {
t.Errorf("error getting PAC: %v", e)
}
assert.True(t, isPAC, "should have PAC")
assert.Equal(t, "TEST.GOKRB5", pac.KerbValidationInfo.LogonDomainName.String(), "domain name in PAC not correct")
}
Expand Down
2 changes: 1 addition & 1 deletion config/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package config

import "fmt"

// Unsupported directive error.
// UnsupportedDirective error.
type UnsupportedDirective struct {
text string
}
Expand Down

0 comments on commit c01bd1a

Please sign in to comment.