chore: run gofmt on state.go & state_test.go
Signed-off-by: Kevin Biebuyck <kbiebuyck@develop-it.net>
This commit is contained in:
parent
ce376a3496
commit
7c2a344fec
|
|
@ -112,8 +112,8 @@ func (hs *HelmState) UnmarshalYAML(unmarshal func(any) error) error {
|
|||
|
||||
// HelmState structure for the helmfile
|
||||
type HelmState struct {
|
||||
basePath string
|
||||
FilePath string
|
||||
basePath string
|
||||
FilePath string
|
||||
Directory string `yaml:"directory,omitempty"`
|
||||
|
||||
ReleaseSetSpec `yaml:",inline"`
|
||||
|
|
|
|||
|
|
@ -2103,8 +2103,8 @@ generated: 2019-05-16T15:42:45.50486+09:00
|
|||
logger := helmexec.NewLogger(io.Discard, "debug")
|
||||
basePath := "/src"
|
||||
state := &HelmState{
|
||||
basePath: basePath,
|
||||
FilePath: "/src/helmfile.yaml",
|
||||
basePath: basePath,
|
||||
FilePath: "/src/helmfile.yaml",
|
||||
Directory: "/src",
|
||||
ReleaseSetSpec: ReleaseSetSpec{
|
||||
Releases: []ReleaseSpec{
|
||||
|
|
@ -2172,8 +2172,8 @@ generated: 2019-05-16T15:42:45.50486+09:00
|
|||
func TestHelmState_ResolveDeps_NoLockFile(t *testing.T) {
|
||||
logger := helmexec.NewLogger(io.Discard, "debug")
|
||||
state := &HelmState{
|
||||
basePath: "/src",
|
||||
FilePath: "/src/helmfile.yaml",
|
||||
basePath: "/src",
|
||||
FilePath: "/src/helmfile.yaml",
|
||||
Directory: "/src",
|
||||
ReleaseSetSpec: ReleaseSetSpec{
|
||||
Releases: []ReleaseSpec{
|
||||
|
|
@ -2223,8 +2223,8 @@ func TestHelmState_ResolveDeps_NoLockFile(t *testing.T) {
|
|||
func TestHelmState_ResolveDeps_NoLockFile_WithCustomLockFile(t *testing.T) {
|
||||
logger := helmexec.NewLogger(io.Discard, "debug")
|
||||
state := &HelmState{
|
||||
basePath: "/src",
|
||||
FilePath: "/src/helmfile.yaml",
|
||||
basePath: "/src",
|
||||
FilePath: "/src/helmfile.yaml",
|
||||
Directory: "/src",
|
||||
ReleaseSetSpec: ReleaseSetSpec{
|
||||
LockFile: "custom-lock-file",
|
||||
|
|
|
|||
Loading…
Reference in New Issue