Skip to content

Commit

Permalink
Removing redundant config assignment in newSession function
Browse files Browse the repository at this point in the history
  • Loading branch information
karinnainiguez committed Sep 11, 2018
1 parent 6a4932d commit f979dec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions humans.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Stefan Prodan @stefanprodan
James Strachan @jstrachan
Nick @bowlesns
Kirsten Schumy @kschumy
Karinna Iniguez @karinnainiguez

/* Thanks */

Expand Down
1 change: 0 additions & 1 deletion pkg/eks/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ func newSession(clusterConfig *api.ClusterConfig, endpoint string, credentials *
aws.LogDebugWithRequestRetries |
aws.LogDebugWithRequestErrors |
aws.LogDebugWithEventStreamBody)
config = config.WithLogLevel(aws.LogDebugWithHTTPBody)
config = config.WithLogger(aws.LoggerFunc(func(args ...interface{}) {
logger.Debug(fmt.Sprintln(args...))
}))
Expand Down

0 comments on commit f979dec

Please sign in to comment.