Skip to content

Commit 2f1182c

Browse files
Update pkg/cloud/client.go
Co-authored-by: Vishesh <[email protected]>
1 parent 2979184 commit 2f1182c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/cloud/client.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ func NewClientFromConf(conf Config, clientConfig *corev1.ConfigMap) (Client, err
160160

161161
clientCacheKey := generateClientCacheKey(conf)
162162
if item := clientCache.Get(clientCacheKey); item != nil {
163-
var client interface{} = item.Value()
164-
return client.(Client), nil
163+
return item.Value(), nil
165164
}
166165

167166
verifySSL := true

0 commit comments

Comments
 (0)