ceph: remove DaemonType type
This type was a string already and was just making us doing string() calls all the time to it's not worth it. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
1 parent
7788901a88
commit
040193bb5a
21 files changed
+44
-66
No files matched your search
@@ -22,7 +22,6 @@ import (
|
||||
"testing"
|
||||
|
||||
e "github.com/pkg/errors"
|
||||
"github.com/rook/rook/pkg/operator/ceph/config"
|
||||
optest "github.com/rook/rook/pkg/operator/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
@@ -78,7 +77,7 @@ func VerifyPodLabels(appName, namespace, daemonType, daemonID string, labels map
|
||||
// DaemonSets, etc.
|
||||
func AssertLabelsContainCephRequirements(
|
||||
t *testing.T, labels map[string]string,
|
||||
daemonType config.DaemonType, daemonID, appName, namespace string,
|
||||
daemonType, daemonID, appName, namespace string,
|
||||
) {
|
||||
optest.AssertLabelsContainRookRequirements(t, labels, appName)
|
||||
|
||||
|
||||
Reference in new issue
Block a user