1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-01 23:36:58 +00:00

Change ById to ByID

This commit is contained in:
Darren Shepherd
2017-11-10 22:33:03 -07:00
parent e9dea7f5f6
commit f9b15a5e39
3 changed files with 6 additions and 6 deletions

View File

@@ -258,8 +258,8 @@ func (a *APIBaseClient) Update(schemaType string, existing *types.Resource, upda
return a.Ops.DoUpdate(schemaType, existing, updates, respObject)
}
func (a *APIBaseClient) ById(schemaType string, id string, respObject interface{}) error {
return a.Ops.DoById(schemaType, id, respObject)
func (a *APIBaseClient) ByID(schemaType string, id string, respObject interface{}) error {
return a.Ops.DoByID(schemaType, id, respObject)
}
func (a *APIBaseClient) Delete(existing *types.Resource) error {