Skip to content

Commit 39199b1

Browse files
Merge pull request #765 from vyzigold/telemetry-webhook-validateupdate
Fix ValidateUpdate for telemetrySpecCore webhook
2 parents 08163ff + dea975f commit 39199b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1beta1/telemetry_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func (r TelemetrySpec) ValidateUpdate(old TelemetrySpec, basePath *field.Path, n
181181
return r.ValidateCreate(basePath, namespace)
182182
}
183183

184-
func (r TelemetrySpecCore) ValidateUpdate(old TelemetrySpec, basePath *field.Path, namespace string) field.ErrorList {
184+
func (r TelemetrySpecCore) ValidateUpdate(old TelemetrySpecCore, basePath *field.Path, namespace string) field.ErrorList {
185185
var allErrs field.ErrorList
186186
allErrs = append(allErrs, r.ValidateTelemetryTopology(basePath, namespace)...)
187187
return allErrs

0 commit comments

Comments
 (0)