Skip to content

Commit 84fb653

Browse files
committed
fixed order of params
1 parent f3a2379 commit 84fb653

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • internal/cmd/network-area/list

internal/cmd/network-area/list/list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
103103
items = items[:*model.Limit]
104104
}
105105

106-
return outputResult(params.Printer, orgLabel, model.OutputFormat, items)
106+
return outputResult(params.Printer, model.OutputFormat, orgLabel, items)
107107
},
108108
}
109109
configureFlags(cmd)
@@ -148,7 +148,7 @@ func buildRequest(ctx context.Context, model *inputModel, apiClient *iaas.APICli
148148
return req
149149
}
150150

151-
func outputResult(p *print.Printer, orgLabel, outputFormat string, networkAreas []iaas.NetworkArea) error {
151+
func outputResult(p *print.Printer, outputFormat, orgLabel string, networkAreas []iaas.NetworkArea) error {
152152
return p.OutputResult(outputFormat, networkAreas, func() error {
153153
if len(networkAreas) == 0 {
154154
p.Outputf("No STACKIT Network Areas found for organization %q\n", orgLabel)

0 commit comments

Comments
 (0)