Skip to content

Commit 9c38a08

Browse files
add: function to return machine pool labels.
1 parent e76a32b commit 9c38a08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

support/ocm.go

+4
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,7 @@ func GetMachinePools(t Test, connection *ocmsdk.Connection) []*cmv1.MachinePool
7272
func MachinePoolId(machinePool *cmv1.MachinePool) string {
7373
return machinePool.ID()
7474
}
75+
76+
func MachinePoolLabels(machinePool *cmv1.MachinePool) map[string]string {
77+
return machinePool.Labels()
78+
}

0 commit comments

Comments
 (0)