From 7c2a344fec5cab3d5fec60f397e3a54fb6c3e7fb Mon Sep 17 00:00:00 2001 From: Kevin Biebuyck Date: Mon, 19 May 2025 15:19:27 +0200 Subject: [PATCH] chore: run gofmt on state.go & state_test.go Signed-off-by: Kevin Biebuyck --- pkg/state/state.go | 4 ++-- pkg/state/state_test.go | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pkg/state/state.go b/pkg/state/state.go index 605a7e2c..8e0e6e4a 100644 --- a/pkg/state/state.go +++ b/pkg/state/state.go @@ -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"` diff --git a/pkg/state/state_test.go b/pkg/state/state_test.go index 996666e0..322578c5 100644 --- a/pkg/state/state_test.go +++ b/pkg/state/state_test.go @@ -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",