fix signature in tests

This commit is contained in:
Sergey Dudoladov 2020-11-25 16:08:03 +01:00
parent 1bbf41fb66
commit efd7d2649f
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ func TestGenerateSpiloJSONConfiguration(t *testing.T) {
}
for _, tt := range tests {
cluster.OpConfig = tt.opConfig
result, err := generateSpiloJSONConfiguration(tt.pgParam, tt.patroni, tt.role, logger)
result, err := generateSpiloJSONConfiguration(tt.pgParam, tt.patroni, tt.role, logger, false)
if err != nil {
t.Errorf("Unexpected error: %v", err)
}