Skip to content

Commit

Permalink
make read-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenma committed Feb 19, 2025
1 parent 4beeca6 commit b7077d7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ require (
sigs.k8s.io/yaml v1.4.0
)

require cloud.google.com/go/apphub v0.2.3 // indirect
require cloud.google.com/go/apphub v0.2.3

require (
bitbucket.org/creachadair/stringset v0.0.8 // indirect
Expand Down
4 changes: 2 additions & 2 deletions pkg/controller/direct/apphub/service_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

// TODO(contributor): Update the import with the google cloud client
gcp "cloud.google.com/go/apphub/apiv1"
pb "cloud.google.com/go/apphub/apiv1/apphubpb"
pb "cloud.google.com/go/apphub/apiv1/apphubpb"
"google.golang.org/api/option"
"google.golang.org/protobuf/types/known/fieldmaskpb"

Expand Down Expand Up @@ -176,7 +176,7 @@ func (a *ServiceAdapter) Update(ctx context.Context, updateOp *directbase.Update
if err != nil {
return err
}
paths = pathSet.UnsortedList()
paths = pathSet.UnsortedList()
if len(paths) == 0 {
log.V(2).Info("no field needs update", "name", a.id)
status := &krm.AppHubServiceStatus{}
Expand Down
10 changes: 10 additions & 0 deletions pkg/gvks/supportedgvks/gvks_generated.go

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

0 comments on commit b7077d7

Please sign in to comment.