Skip to content

Commit

Permalink
bumped linting
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveromahony committed Oct 4, 2024
1 parent 39680ae commit 2ce125f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sdk/client/commander.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func (c *commander) Upload(ctx context.Context, cfg *proto.NginxConfig, messageI
}

if status.Status != proto.UploadStatus_OK {
return fmt.Error(status.Reason)
return fmt.Errorf("%s", status.Reason)
}

return nil
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/nginx/agent/sdk/v2/client/commander.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ce125f

Please sign in to comment.