resources: Rename GetUIDs to UIDs
This is more in line with the style guide for golang.
This commit is contained in:
@@ -681,9 +681,9 @@ type VirtUID struct {
|
||||
BaseUID
|
||||
}
|
||||
|
||||
// GetUIDs includes all params to make a unique identification of this object.
|
||||
// UIDs includes all params to make a unique identification of this object.
|
||||
// Most resources only return one, although some resources can return multiple.
|
||||
func (obj *VirtRes) GetUIDs() []ResUID {
|
||||
func (obj *VirtRes) UIDs() []ResUID {
|
||||
x := &VirtUID{
|
||||
BaseUID: BaseUID{name: obj.GetName(), kind: obj.Kind()},
|
||||
// TODO: add more properties here so we can link to vm dependencies
|
||||
|
||||
Reference in New Issue
Block a user