Skip to content

Commit

Permalink
Merge pull request #155 from RothAndrew/feature/fix_typo
Browse files Browse the repository at this point in the history
fix(logging): Fix typo "planing" to "planning" in log statements
  • Loading branch information
Sami Alajrami authored Jan 10, 2019
2 parents 23477eb + 5a4c288 commit b19fdc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions decision_maker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions docs/how_to/manipulate_apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
```
Expand Down Expand Up @@ -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 ]
```
Expand Down

0 comments on commit b19fdc4

Please sign in to comment.