diff --git a/pkg/grafana/notificationpolicy-handler.go b/pkg/grafana/notificationpolicy-handler.go index 8fffc95e..ab2a0344 100644 --- a/pkg/grafana/notificationpolicy-handler.go +++ b/pkg/grafana/notificationpolicy-handler.go @@ -46,7 +46,7 @@ func (h *AlertNotificationPolicyHandler) Validate(resource grizzly.Resource) err } func (h *AlertNotificationPolicyHandler) GetSpecUID(resource grizzly.Resource) (string, error) { - return "", fmt.Errorf("GetSpecUID not implemented for notification policies") + return AlertNotificationPolicyKind + "-UID", nil } // GetByUID retrieves JSON for a resource from an endpoint, by UID