mirror of https://github.com/k3s-io/k3s
more fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>pull/3688/head
parent
7ebcc4b134
commit
20a48734c2
|
@ -142,7 +142,7 @@ func (c *Cluster) getBootstrapKeyFromStorage(ctx context.Context, storageClient
|
|||
return nil, err
|
||||
}
|
||||
for _, bootstrapKV := range bootstrapList {
|
||||
// checking for empty string bootstrap key
|
||||
// ensure bootstrap is stored in the current token's key
|
||||
if string(bootstrapKV.Key) == tokenKey {
|
||||
return &bootstrapKV, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue