From 5a4c28836fef0294f300d6155633a2cc476c9a2f Mon Sep 17 00:00:00 2001 From: rothandrew Date: Fri, 28 Dec 2018 18:45:40 -0500 Subject: [PATCH] fix(logging): Fix typo "planing" to "planning" in log statements --- decision_maker.go | 4 ++-- docs/how_to/manipulate_apps.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/decision_maker.go b/decision_maker.go index e2560d0b..cf7f65f7 100644 --- a/decision_maker.go +++ b/decision_maker.go @@ -170,7 +170,7 @@ func deleteRelease(r *release, rs releaseState) { Description: "deleting release [ " + r.Name + " ] from namespace [[ " + r.Namespace + " ]] using Tiller in [ " + getDesiredTillerNamespace(r) + " ]", } outcome.addCommand(cmd, priority, r) - logDecision("DECISION: release [ "+r.Name+" ] is desired to be deleted "+purgeDesc+". Planing this for you!", priority, delete) + logDecision("DECISION: release [ "+r.Name+" ] is desired to be deleted "+purgeDesc+". Planning this for you!", priority, delete) } // inspectUpgradeScenario evaluates if a release should be upgraded. @@ -186,7 +186,7 @@ func inspectUpgradeScenario(r *release, rs releaseState) { if extractChartName(r.Chart) == getReleaseChartName(rs) && r.Version != getReleaseChartVersion(rs) { // upgrade upgradeRelease(r) - logDecision("DECISION: release [ "+r.Name+" ] is desired to be upgraded. Planing this for you!", r.Priority, change) + logDecision("DECISION: release [ "+r.Name+" ] is desired to be upgraded. Planning this for you!", r.Priority, change) } else if extractChartName(r.Chart) != getReleaseChartName(rs) { reInstallRelease(r, rs) diff --git a/docs/how_to/manipulate_apps.md b/docs/how_to/manipulate_apps.md index b931dbab..e16b07b7 100644 --- a/docs/how_to/manipulate_apps.md +++ b/docs/how_to/manipulate_apps.md @@ -45,8 +45,8 @@ $ helmsman --apply -f example.toml 2017/11/19 18:29:01 INFO: Executing the following plan ... --------------- Ok, I have generated a plan for you at: 2017-11-19 18:28:29.437061909 +0100 CET m=+1.987623555 -DECISION: release [ jenkins ] is desired to be deleted . Planing this for you! -DECISION: release [ artifactory ] is desired to be upgraded. Planing this for you! +DECISION: release [ jenkins ] is desired to be deleted . Planning this for you! +DECISION: release [ artifactory ] is desired to be upgraded. Planning this for you! 2017/11/19 18:29:01 INFO: attempting: -- deleting release [ jenkins ] 2017/11/19 18:29:11 INFO: attempting: -- upgrading release [ artifactory ] ``` @@ -110,7 +110,7 @@ $ helmsman --apply -f example.toml --------------- Ok, I have generated a plan for you at: 2017-11-19 18:30:43.108693039 +0100 CET m=+1.978435517 DECISION: release [ jenkins ] is currently deleted and is desired to be rolledback to namespace [[ staging ]] . No problem! -DECISION: release [ artifactory ] is desired to be upgraded. Planing this for you! +DECISION: release [ artifactory ] is desired to be upgraded. Planning this for you! 2017/11/19 18:30:49 INFO: attempting: -- rolling back release [ jenkins ] 2017/11/19 18:30:50 INFO: attempting: -- upgrading release [ artifactory ] ```