Skip to content

Commit

Permalink
Change the helmfile list header "INSTALLED" -> "ENABLED" (#1161)
Browse files Browse the repository at this point in the history
Resolves #1076
  • Loading branch information
mumoshu authored Mar 29, 2020
1 parent 69feadc commit 35e5454
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (a *App) PrintState(c StateConfigProvider) error {

func (a *App) ListReleases(c StateConfigProvider) error {
table := uitable.New()
table.AddRow("NAME", "NAMESPACE", "INSTALLED", "LABELS")
table.AddRow("NAME", "NAMESPACE", "ENABLED", "LABELS")

err := a.VisitDesiredStatesWithReleasesFiltered(a.FileOrDir, func(st *state.HelmState) []error {
//var releases m
Expand Down
10 changes: 5 additions & 5 deletions pkg/app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3823,11 +3823,11 @@ releases:
assert.NilError(t, err)
})

expected := `NAME NAMESPACE INSTALLED LABELS
myrelease1 false id:myrelease1
myrelease2 true
myrelease3 true
myrelease4 true id:myrelease1
expected := `NAME NAMESPACE ENABLED LABELS
myrelease1 false id:myrelease1
myrelease2 true
myrelease3 true
myrelease4 true id:myrelease1
`
assert.Equal(t, expected, out)
}
Expand Down

0 comments on commit 35e5454

Please sign in to comment.