You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't use the tool to generate the field from the grpc proto.
$ go run . update-types --parent-message-full-name "google.cloud.gkehub.configmanagement.v1beta.MembershipSpec" --new-field "cluster" --api-dir ../../../apis/gkehub/v1beta1
Error: field not found in message
Usage:
update-types [flags]
Flags:
--api-dir string Base directory for APIs (default "/usr/local/google/home/ziyue/go/src/k8s-config-connector/apis/")
--api-go-package-path string Package path (default "github.com/GoogleCloudPlatform/k8s-config-connector/apis/")
-h, --help help for update-types
--ignored-fields string Comma-separated list of fields to ignore
--new-field string Name of the new field
--parent-message-full-name string Fully qualified name of the proto message holding the new field
Global Flags:
-v, --api-version string the KRM API version. used to import the KRM API
--proto-source-path string path to (compiled) proto for APIs
-s, --service string the GCP service name
field not found in message
exit status 1
Checklist
Describe the feature or resource
Add the new field
management
in the resource backed by the direct controller.Additional information
No response
Importance
No response
The text was updated successfully, but these errors were encountered: