Skip to content

Commit

Permalink
chore: remove unneeded cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Ric Featherstone authored and 06kellyjac committed Dec 21, 2023
1 parent 75aad0d commit 85bc36e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controlplane/simulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ func (s simulator) CreateBucket(ctx context.Context, name string) error {
}

func (s simulator) BuildImage(ctx context.Context, name string) error {
err := commands.PackerInitCommand(PackerTemplateDir, string(name)).Run(ctx)
err := commands.PackerInitCommand(PackerTemplateDir, name).Run(ctx)
if err != nil {
return err
}

return commands.PackerBuildCommand(PackerTemplateDir, string(name)).Run(ctx)
return commands.PackerBuildCommand(PackerTemplateDir, name).Run(ctx)
}

func (s simulator) CreateInfrastructure(ctx context.Context, bucket, key, name string) error {
Expand Down

0 comments on commit 85bc36e

Please sign in to comment.