Commit 2440b80
fix: Sanitize owner label to comply with GCP label requirements
Fixes #6218
GCP labels only allow lowercase letters, numbers, underscores, and hyphens.
The owner flag (typically an email address) was being used directly as a
label value without sanitization, causing errors when it contained periods
or uppercase letters.
This change applies the existing _SafeLabelKeyOrValue() method to sanitize
the owner value before using it as a GCP label, ensuring compliance with
GCP's label requirements.1 parent acb1caf commit 2440b80
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1253 | 1253 | | |
1254 | 1254 | | |
1255 | 1255 | | |
1256 | | - | |
| 1256 | + | |
1257 | 1257 | | |
1258 | 1258 | | |
1259 | 1259 | | |
| |||
0 commit comments