Skip to content

Commit

Permalink
Bump github.com/google/android-cuttlefish/frontend/src/libhoclient
Browse files Browse the repository at this point in the history
  • Loading branch information
ser-io committed Jan 22, 2025
1 parent 2a2a023 commit 7640c15
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/android-cuttlefish/frontend/src/libhoclient v0.0.0-20241108210539-a83c58892170 // indirect
github.com/google/android-cuttlefish/frontend/src/libhoclient v0.0.0-20250122015813-1a7b9dc053a4 // indirect
github.com/google/s2a-go v0.1.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
github.com/googleapis/gax-go/v2 v2.8.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ github.com/google/android-cuttlefish/frontend/src/libhoclient v0.0.0-20241029193
github.com/google/android-cuttlefish/frontend/src/libhoclient v0.0.0-20241029193057-efa991458b67/go.mod h1:+Cw9AYfGDSVMDTxDHevKgZhEDX0j6LmJL3ANi6HuErs=
github.com/google/android-cuttlefish/frontend/src/libhoclient v0.0.0-20241108210539-a83c58892170 h1:/WznY6oaTTu8Y99VS42RV5pCjyVn8y+L4Iw33ci4ip8=
github.com/google/android-cuttlefish/frontend/src/libhoclient v0.0.0-20241108210539-a83c58892170/go.mod h1:9YZpDPCVPlkJ8zRZYHHT+KmG+wHQ4xJh0Zkc2Z6hhFo=
github.com/google/android-cuttlefish/frontend/src/libhoclient v0.0.0-20250122015813-1a7b9dc053a4 h1:fvtViTt0Fyu0eNkcKk6JOMPs7gv0+230h6dnjaapS7s=
github.com/google/android-cuttlefish/frontend/src/libhoclient v0.0.0-20250122015813-1a7b9dc053a4/go.mod h1:HWzt0rfeNpsk1+vy0dJoL5q0wOdcBM1SckwZd4+SyhE=
github.com/google/android-cuttlefish/frontend/src/liboperator v0.0.0-20240822182916-7bea0dafdbde h1:laMjSvqBHvDZ9DB+YaM6I4y5t0a7zYQRorYLM1VJsyM=
github.com/google/android-cuttlefish/frontend/src/liboperator v0.0.0-20240822182916-7bea0dafdbde/go.mod h1:iA3V13fYW7It3n+LqvgOkXAOhw56XAjS1vH43+kU/4o=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
Expand Down
3 changes: 2 additions & 1 deletion pkg/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (

"github.com/PaesslerAG/jsonpath"
hoapi "github.com/google/android-cuttlefish/frontend/src/host_orchestrator/api/v1"
hoclient "github.com/google/android-cuttlefish/frontend/src/libhoclient"
wclient "github.com/google/android-cuttlefish/frontend/src/libhoclient/webrtcclient"
"github.com/gorilla/websocket"
"github.com/hashicorp/go-multierror"
Expand Down Expand Up @@ -969,7 +970,7 @@ func runBugreportCommand(c *cobra.Command, flags *BugreportFlags, opts *subComma
if err != nil {
return err
}
if err := srvClient.HostService(host).CreateBugreport(group, f); err != nil {
if err := srvClient.HostService(host).CreateBugReport(group, hoclient.CreateBugReportOpts{}, f); err != nil {
return err
}
if err := f.Close(); err != nil {
Expand Down
4 changes: 3 additions & 1 deletion pkg/cli/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ func (fakeHostService) DownloadRuntimeArtifacts(dst io.Writer) error {

func (fakeHostService) WaitForOperation(string, any) error { return nil }

func (fakeHostService) CreateBugreport(string, io.Writer) error { return nil }
func (fakeHostService) CreateBugReport(string, hoclient.CreateBugReportOpts, io.Writer) error {
return nil
}

func (fakeHostService) Powerwash(groupName, instanceName string) error { return nil }

Expand Down

0 comments on commit 7640c15

Please sign in to comment.