Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmturner committed Dec 11, 2017
1 parent 81571a0 commit fbb9b86
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/client_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ func TestResolveKDC(t *testing.T) {
assert.True(t, found, "Record %s not found in results", s)
}
c.LibDefaults.DNSLookupKDC = false
count, res, err = cl.resolveKDC(c.LibDefaults.DefaultRealm, true)
_, res, err = cl.resolveKDC(c.LibDefaults.DefaultRealm, true)
if err != nil {
t.Errorf("error resolving KDCs from config: %v", err)
}
Expand Down
2 changes: 1 addition & 1 deletion client/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"errors"
"fmt"
"gopkg.in/jcmturner/dnsutils.v1"
"io"
"gopkg.in/jcmturner/gokrb5.v2/iana/errorcode"
"gopkg.in/jcmturner/gokrb5.v2/messages"
"io"
"math/rand"
"net"
"strconv"
Expand Down
1 change: 0 additions & 1 deletion gssapi/krb5Token.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ func NewAPREQMechToken(creds credentials.Credentials, tkt messages.Ticket, sessi
types.SetFlag(&APReq.APOptions, o)
}
m.APReq = APReq
tb, err = APReq.Marshal()
return m, nil
}

Expand Down

0 comments on commit fbb9b86

Please sign in to comment.