Commit 2f82bfcf authored by galal-hussein's avatar galal-hussein

fix warning msg

parent b3778391
......@@ -54,7 +54,7 @@ func (c *Cluster) save(ctx context.Context) error {
if err := storageClient.Create(ctx, storageKey(normalizedToken), data); err != nil {
if err.Error() == "key exists" {
logrus.Warnln("bootstrap key exists; please follow documentation on updating a node after snapshot restore")
logrus.Warnln("bootstrap key already exists")
return nil
} else if strings.Contains(err.Error(), "not supported for learner") {
logrus.Debug("skipping bootstrap data save on learner")
......
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