Skip to content

Commit

Permalink
Merge pull request #65 from ninech/env-update-fix
Browse files Browse the repository at this point in the history
fix 'expecting pointer' error
  • Loading branch information
gajicdev authored Sep 25, 2023
2 parents b0c56b9 + b230b76 commit 9873487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logs/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type buildCmd struct {
}

func (cmd *buildCmd) Run(ctx context.Context, client *api.Client) error {
var build *apps.Build
build := &apps.Build{}
if cmd.Name != "" {
if err := client.Get(ctx, api.NamespacedName(cmd.Name, client.Project), build); err != nil {
return err
Expand Down

0 comments on commit 9873487

Please sign in to comment.