Skip to content

Commit 9630d94

Browse files
committed
fix linting
1 parent 54109a4 commit 9630d94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provisioner/echo/serve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ func TarWithOptions(ctx context.Context, logger slog.Logger, responses *Response
505505
response := new(proto.Response)
506506
err = protobuf.Unmarshal(data, response)
507507
if err != nil {
508-
return fmt.Errorf("you must have saved the wrong type, the proto cannot unmarshal: %w", err)
508+
return xerrors.Errorf("you must have saved the wrong type, the proto cannot unmarshal: %w", err)
509509
}
510510

511511
logger.Debug(context.Background(), "proto written", slog.F("name", name), slog.F("bytes_written", n))

0 commit comments

Comments
 (0)