File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 77
88 "github.com/spf13/cobra"
99 "github.com/spf13/pflag"
10- "github.com/stackitcloud/stackit-cli/internal/pkg/types"
1110
1211 "github.com/stackitcloud/stackit-cli/internal/pkg/print"
12+ "github.com/stackitcloud/stackit-cli/internal/pkg/types"
1313)
1414
1515type secretFlag struct {
@@ -19,7 +19,6 @@ type secretFlag struct {
1919 name string
2020}
2121
22-
2322func SecretFlag (name string , params * types.CmdParams ) * secretFlag {
2423 f := & secretFlag {
2524 printer : params .Printer ,
Original file line number Diff line number Diff line change 66 "testing/fstest"
77
88 "github.com/spf13/cobra"
9+
910 "github.com/stackitcloud/stackit-cli/internal/pkg/testparams"
1011 "github.com/stackitcloud/stackit-cli/internal/pkg/utils"
1112)
@@ -80,7 +81,7 @@ func TestSecretFlag(t *testing.T) {
8081 t .Parallel ()
8182 params := testparams .NewTestParams ()
8283 if tt .file != nil {
83- params .CmdParams . Fs = fstest.MapFS {
84+ params .Fs = fstest.MapFS {
8485 tt .file .path : & fstest.MapFile {
8586 Data : []byte (tt .file .content ),
8687 },
You can’t perform that action at this time.
0 commit comments