Skip to content

Commit 8d405a2

Browse files
committed
linter
1 parent 679734d commit 8d405a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/command/stacks/stacks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (p *Plural) handleGenerateBackend(_ *cli.Context) error {
8383
}
8484

8585
stackNames := make(map[string]string)
86-
infrastructureStacks, err := p.Plural.ConsoleClient.ListaStacks()
86+
infrastructureStacks, err := p.ConsoleClient.ListaStacks()
8787
if err != nil {
8888
return api.GetErrorResponse(err, "ListaStacks")
8989
}

pkg/client/plural.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func (p *Plural) HandleInit(c *cli.Context) error {
158158
prov, err := common.RunPreflights(c)
159159
if err != nil {
160160
if !c.Bool("ignore-preflights") {
161-
return fmt.Errorf("preflight checks failed: %v\nYou can rerun the command with --ignore-preflights to skip these checks.", err)
161+
return fmt.Errorf("preflight checks failed: %w\nYou can rerun the command with --ignore-preflights to skip these checks.", err)
162162
}
163163
fmt.Println("Preflight checks failed, but continuing because --ignore-preflights was specified.")
164164
}

0 commit comments

Comments
 (0)