Storage: Always set a UID in the apiserver (#96086)
This commit is contained in:
@@ -303,6 +303,8 @@ func (s *server) newEvent(ctx context.Context, user claims.AuthInfo, key *Resour
|
||||
}
|
||||
|
||||
if obj.GetUID() == "" {
|
||||
// TODO! once https://github.com/grafana/grafana/pull/96086 is deployed everywhere
|
||||
// return nil, NewBadRequestError("object is missing UID")
|
||||
s.log.Error("object is missing UID", "key", key)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user