Commit 20a48734 authored by galal-hussein's avatar galal-hussein

more fixes

parent 7ebcc4b1
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment