Skip to content

Commit 418d73f

Browse files
committed
Fix pointer
xref: #116 Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent b30d3a7 commit 418d73f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/util.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (session *sessionWrapper) setDatabaseCredentials(kubeClient kubernetes.Inte
106106
return nil
107107
}
108108

109-
func (opt redisOptions) setTLSParameters(appBinding *appcatalog.AppBinding, cmd *restic.Command) error {
109+
func (opt *redisOptions) setTLSParameters(appBinding *appcatalog.AppBinding, cmd *restic.Command) error {
110110
// if ssl enabled, add ca.crt in the arguments
111111
if appBinding.Spec.ClientConfig.CABundle != nil {
112112
parameters := v1alpha1.RedisConfiguration{}
@@ -160,7 +160,7 @@ func (session *sessionWrapper) setUserArgs(args string) {
160160
}
161161
}
162162

163-
func (session sessionWrapper) waitForDBReady(appBinding *appcatalog.AppBinding) error {
163+
func (session *sessionWrapper) waitForDBReady(appBinding *appcatalog.AppBinding) error {
164164
klog.Infoln("Waiting for the database to be ready.....")
165165
sh := shell.NewSession()
166166
for k, v := range session.sh.Env {

0 commit comments

Comments
 (0)