Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e288b9

Browse files
committed
Remove unneeded repohost from CreatePGBackRestConfigMapIntent function signature.
1 parent 00d523e commit 7e288b9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/pgbackrest/config.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ func CreatePGBackRestConfigMapIntent(ctx context.Context, postgresCluster *v1bet
133133
pgPort, instanceNames,
134134
postgresCluster.Spec.Backups.PGBackRest.Repos,
135135
postgresCluster.Spec.Backups.PGBackRest.Global,
136-
postgresCluster.Spec.Backups.PGBackRest.RepoHost,
137136
pgBackRestLogPath,
138137
).String()
139138

@@ -444,8 +443,7 @@ func populateRepoHostConfigurationMap(
444443
serviceName, serviceNamespace, pgdataDir,
445444
fetchKeyCommand, postgresVersion string,
446445
pgPort int32, pgHosts []string, repos []v1beta1.PGBackRestRepo,
447-
globalConfig map[string]string, repoHost *v1beta1.PGBackRestRepoHost,
448-
logPath string,
446+
globalConfig map[string]string, logPath string,
449447
) iniSectionSet {
450448

451449
global := iniMultiSet{}

0 commit comments

Comments
 (0)