Skip to content

Commit 9ab7a79

Browse files
committed
removing unused function
1 parent 457c533 commit 9ab7a79

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test/support/machine.go

-10
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package support
33
import (
44
"github.com/onsi/gomega"
55

6-
"k8s.io/apimachinery/pkg/api/errors"
76
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
87

98
machinev1beta1 "github.com/openshift/api/machine/v1beta1"
@@ -31,12 +30,3 @@ func GetMachines(t Test, machineSetName string) []machinev1beta1.Machine {
3130
func MachineSetId(machineSet machinev1beta1.MachineSet) string {
3231
return machineSet.Name
3332
}
34-
35-
func MachineSetsExist(t Test) (bool, error) {
36-
ms, err := GetMachineSets(t)
37-
if err != nil && errors.IsNotFound(err) {
38-
return false, err
39-
}
40-
t.Expect(err).NotTo(gomega.HaveOccurred())
41-
return ms != nil, err
42-
}

0 commit comments

Comments
 (0)