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 20, 2025
1 parent ce3d8ab commit 49719c8
Show file tree
Hide file tree
Showing 59 changed files with 7,629 additions and 23,300 deletions.
7 changes: 3 additions & 4 deletions apis/logging/v1alpha1/logmetric_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ import (
// holds the GCP identifier for the KRM object.
type LogMetricIdentity struct {
parent *LogMetricParent
id string
id string
}

func (i *LogMetricIdentity) String() string {
return i.parent.String() + "/logmetrics/" + i.id
return i.parent.String() + "/logmetrics/" + i.id
}

func (i *LogMetricIdentity) ID() string {
return i.id
}

func (i *LogMetricIdentity) Parent() *LogMetricParent {
return i.parent
return i.parent
}

type LogMetricParent struct {
Expand All @@ -52,7 +52,6 @@ func (p *LogMetricParent) String() string {
return "projects/" + p.ProjectID + "/locations/" + p.Location
}


// New builds a LogMetricIdentity from the Config Connector LogMetric object.
func NewLogMetricIdentity(ctx context.Context, reader client.Reader, obj *LoggingLogMetric) (*LogMetricIdentity, error) {

Expand Down
141 changes: 0 additions & 141 deletions apis/logging/v1alpha1/types.generated.go

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

92 changes: 0 additions & 92 deletions apis/logging/v1alpha1/zz_generated.deepcopy.go

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

Loading

0 comments on commit 49719c8

Please sign in to comment.