From b6098e4787bc4fc45ee37c1b90bce8c844f9836b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 29 Sep 2025 22:55:44 +0000 Subject: [PATCH] Fix error message style issue for staticcheck Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com> --- pkg/remote/remote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/remote/remote.go b/pkg/remote/remote.go index facee266..7b870617 100644 --- a/pkg/remote/remote.go +++ b/pkg/remote/remote.go @@ -480,7 +480,7 @@ func (g *S3Getter) S3FileExists(path string) (string, error) { } resp, err := s3Client.GetBucketLocation(context.TODO(), getBucketLocationInput) if err != nil { - return "", fmt.Errorf("Error: Failed to retrieve bucket location: %v\n", err) + return "", fmt.Errorf("failed to retrieve bucket location: %v", err) } if resp == nil || string(resp.LocationConstraint) == "" { g.Logger.Debugf("Bucket has no location Assuming us-east-1")