fix message typo

This commit is contained in:
David Eads
2020-05-28 11:37:50 -04:00
parent 3a99c07c79
commit 2ff2e6c64b

View File

@@ -193,7 +193,7 @@ func (n *nucleusSpokeController) sync(ctx context.Context, controllerContext fac
Type: spokeCoreApplied,
Status: metav1.ConditionFalse,
Reason: "SpokeCoreApplyFailed",
Message: fmt.Sprintf("Failed to get bootstracp secret %s/%s", config.SpokeCoreNamespace, config.BootStrapKubeConfigSecret),
Message: fmt.Sprintf("Failed to get bootstrap secret %s/%s", config.SpokeCoreNamespace, config.BootStrapKubeConfigSecret),
})
helpers.UpdateNucleusSpokeStatus(
ctx, n.nucleusClient, spokeCoreName, helpers.UpdateNucleusSpokeConditionFn(spokeCore.Status.Conditions...))