google-cloud-sdk icon indicating copy to clipboard operation
google-cloud-sdk copied to clipboard

Error not in sync with the name pattern

Open shobsi opened this issue 2 years ago • 0 comments

The error on function name pattern says only hyphen (-) is acceptable

https://github.com/twistedpair/google-cloud-sdk/blob/23a3ae5621dc114ebc6ab5d7981f0c3ac3d590c5/google-cloud-sdk/lib/googlecloudsdk/api_lib/functions/v1/util.py#L57

but the regex itself allos underscore (_)

https://github.com/twistedpair/google-cloud-sdk/blob/23a3ae5621dc114ebc6ab5d7981f0c3ac3d590c5/google-cloud-sdk/lib/googlecloudsdk/api_lib/functions/v1/util.py#L53

shobsi avatar Aug 30 '23 03:08 shobsi