Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #53 from sfunkhouser/sfunk/fix-failing-tests
Browse files Browse the repository at this point in the history
Fix formatting error for invalid chart error message
  • Loading branch information
esmet authored Jan 16, 2019
2 parents dcb9e5c + 40cb540 commit 6337b42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type ExecutionContext struct {
Mode Mode

Verbose, Quiet, CatchSignals, DryRun, Describe, WarnOnConfigError,
IgnoreContextAndEnv, IgnoreConfigErrors, NoPrompt bool
IgnoreContextAndEnv, IgnoreConfigErrors, NoPrompt bool

AnkhConfigPath string
KubeConfigPath string
Expand Down Expand Up @@ -337,7 +337,7 @@ func getAnkhFileForChart(ctx *ExecutionContext, singleChart string) (AnkhFile, e
// Extract that now if possible.
tokens := strings.Split(singleChart, "@")
if len(tokens) > 2 {
ctx.Logger.Fatalf("Invalid chart '%v'. Too many `@` characters found. Chart must either be a name with no `@`, or in the combined `name@version` format")
ctx.Logger.Fatalf("Invalid chart '%v'. Too many `@` characters found. Chart must either be a name with no `@`, or in the combined `name@version` format", singleChart)
}
if len(tokens) == 2 {
singleChart = tokens[0]
Expand Down

0 comments on commit 6337b42

Please sign in to comment.