(s string)
| 114 | } |
| 115 | |
| 116 | func isValidPatchUUID(s string) bool { |
| 117 | _, err := uuid.Parse(s) |
| 118 | return err == nil |
| 119 | } |
| 120 | |
| 121 | // policyIDForLog returns a stable, log-safe identifier for a patch policy or |
| 122 | // "<none>" when the policy is nil. Used in scheduling log lines so a parse |
no outgoing calls
no test coverage detected