Skip to content

Commit

Permalink
Update pkg/cloud/client.go
Browse files Browse the repository at this point in the history
Co-authored-by: Vishesh <[email protected]>
  • Loading branch information
rohityadavcloud and vishesh92 authored May 23, 2024
1 parent 2979184 commit 2f1182c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/cloud/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@ func NewClientFromConf(conf Config, clientConfig *corev1.ConfigMap) (Client, err

clientCacheKey := generateClientCacheKey(conf)
if item := clientCache.Get(clientCacheKey); item != nil {
var client interface{} = item.Value()
return client.(Client), nil
return item.Value(), nil
}

verifySSL := true
Expand Down

0 comments on commit 2f1182c

Please sign in to comment.