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

Commit

Permalink
Fix formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
sfunk committed Jan 16, 2019
1 parent dcb9e5c commit 40cb540
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 40cb540

Please sign in to comment.