mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 11:10:27 +02:00
convert hardcoded master words into a constant variable
This commit is contained in:
@@ -323,7 +323,7 @@ func TestConnectionPoolerCreateDeletion(t *testing.T) {
|
||||
cluster.Name = "acid-fake-cluster"
|
||||
cluster.Namespace = "default"
|
||||
|
||||
_, err := cluster.createService(cluster.masterRole()) //PROBLEM1
|
||||
_, err := cluster.createService(cluster.masterRole())
|
||||
assert.NoError(t, err)
|
||||
_, err = cluster.createStatefulSet()
|
||||
assert.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user