mirror of
https://github.com/rancher/norman.git
synced 2025-09-02 15:54:32 +00:00
Changes to generator for deepcopygen
This commit is contained in:
@@ -227,9 +227,7 @@ func (a *APIOperations) DoByID(schemaType string, id string, respObject interfac
|
||||
return errors.New("Failed to find collection URL for [" + schemaType + "]")
|
||||
}
|
||||
|
||||
err := a.DoGet(collectionUrl+"/"+id, nil, respObject)
|
||||
//TODO check for 404 and return nil, nil
|
||||
return err
|
||||
return a.DoGet(collectionUrl+"/"+id, nil, respObject)
|
||||
}
|
||||
|
||||
func (a *APIOperations) DoResourceDelete(schemaType string, existing *types.Resource) error {
|
||||
|
Reference in New Issue
Block a user