mirror of
https://github.com/rancher/steve.git
synced 2025-09-04 17:01:16 +00:00
addressing comments from eric #2
This commit is contained in:
@@ -599,7 +599,7 @@ func (s *Store) Update(apiOp *types.APIRequest, schema *types.APISchema, params
|
||||
|
||||
resourceVersion := input.String("metadata", "resourceVersion")
|
||||
if resourceVersion == "" {
|
||||
return nil, nil, fmt.Errorf(errResourceVersionRequired)
|
||||
return nil, nil, errors.New(errResourceVersionRequired)
|
||||
}
|
||||
|
||||
gvk := attributes.GVK(schema)
|
||||
|
Reference in New Issue
Block a user