Skip to content

Commit

Permalink
Skip some linters
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Jul 9, 2020
1 parent a108e4a commit 256bdcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,7 @@ func queryString(opts interface{}) string {
}

func addQueryStringValue(items url.Values, key string, v reflect.Value) bool {
//nolint:exhaustive
switch v.Kind() {
case reflect.Bool:
if v.Bool() {
Expand Down
2 changes: 1 addition & 1 deletion tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func copyTLSConfig(cfg *tls.Config) *tls.Config {
Rand: cfg.Rand,
RootCAs: cfg.RootCAs,
ServerName: cfg.ServerName,
SessionTicketKey: cfg.SessionTicketKey,
SessionTicketKey: cfg.SessionTicketKey, //nolint:staticcheck
SessionTicketsDisabled: cfg.SessionTicketsDisabled,
}
}

0 comments on commit 256bdcc

Please sign in to comment.