osd: improve error message for osd purge

The OSD purge was printing an incorrect sentence, so this now
fixes the grammar.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
Travis Nielsen
2022-12-07 14:34:01 -07:00
parent 9975e09406
commit 2a16cd857c
+2 -2
View File
@@ -107,11 +107,11 @@ func removeOSD(clusterdContext *clusterd.Context, clusterInfo *client.ClusterInf
} else {
// If we arrive here and forceOSDRemoval is true, we should proceed with the OSD removal
if forceOSDRemoval {
logger.Infof("osd.%d is NOT be ok to destroy but force removal is enabled so proceeding with removal", osdID)
logger.Infof("osd.%d is NOT ok to destroy but force removal is enabled so proceeding with removal", osdID)
break
}
// Else we wait until the OSD can be removed
logger.Warningf("osd.%d is NOT be ok to destroy, retrying in 1m until success", osdID)
logger.Warningf("osd.%d is NOT ok to destroy, retrying in 1m until success", osdID)
time.Sleep(1 * time.Minute)
}
}