From 20a48734c293a1b233d5bb5ca959a31e912496dc Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Wed, 21 Jul 2021 22:42:05 +0200 Subject: [PATCH] more fixes Signed-off-by: galal-hussein --- pkg/cluster/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/storage.go b/pkg/cluster/storage.go index 16fcb39fcd..a84a7f0886 100644 --- a/pkg/cluster/storage.go +++ b/pkg/cluster/storage.go @@ -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 }