Skip to content

Commit

Permalink
cmd/gomote: add missing field to GRPC push
Browse files Browse the repository at this point in the history
This change adds a missing directory setting to the GRPC push command.

For golang/go#48737
For golang/go#47521

Change-Id: I33daab7da55403df83033d0d4b6921bfeb10623c
Reviewed-on: https://go-review.googlesource.com/c/build/+/412374
Reviewed-by: Dmitri Shuralyov <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Auto-Submit: Carlos Amedee <[email protected]>
  • Loading branch information
cagedmantis committed Jun 15, 2022
1 parent 2e87f3b commit f7e019d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/gomote/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,9 @@ func push(args []string) error {
return fmt.Errorf("unable to upload file to GCS: %s", err)
}
if _, err := client.WriteTGZFromURL(ctx, &protos.WriteTGZFromURLRequest{
GomoteId: name,
Url: fmt.Sprintf("%s%s", resp.GetUrl(), resp.GetObjectName()),
GomoteId: name,
Url: fmt.Sprintf("%s%s", resp.GetUrl(), resp.GetObjectName()),
Directory: "go",
}); err != nil {
return fmt.Errorf("failed writing tarball to buildlet: %s", statusFromError(err))
}
Expand Down

0 comments on commit f7e019d

Please sign in to comment.