From dbdeaa58fbe55867800ff8f2420766c14b063714 Mon Sep 17 00:00:00 2001 From: Vivek Singh Date: Tue, 21 Jun 2022 16:59:55 +0200 Subject: [PATCH] Correct typos while adding helm repo in apps (#1498) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- pkg/app/kafka.go | 2 +- pkg/app/mariadb.go | 2 +- pkg/app/mysql.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/app/kafka.go b/pkg/app/kafka.go index 64b748abd1..b576e26917 100644 --- a/pkg/app/kafka.go +++ b/pkg/app/kafka.go @@ -130,7 +130,7 @@ func (kc *KafkaCluster) Install(ctx context.Context, namespace string) error { log.Print("Adding repo.", field.M{"app": kc.name}) err = cli.AddRepo(ctx, kc.chart.RepoName, kc.chart.RepoURL) if err != nil { - return errors.Wrapf(err, "Error helm repo for app %s.", kc.name) + return errors.Wrapf(err, "Error adding helm repo for app %s.", kc.name) } log.Print("Installing kafka operator using helm.", field.M{"app": kc.name}) err = cli.Install(ctx, kc.chart.RepoName+"/"+kc.chart.Chart, kc.chart.Version, kc.chart.Release, kc.namespace, kc.chart.Values) diff --git a/pkg/app/mariadb.go b/pkg/app/mariadb.go index ef8532c8ab..0c35bfcf17 100644 --- a/pkg/app/mariadb.go +++ b/pkg/app/mariadb.go @@ -83,7 +83,7 @@ func (m *MariaDB) Install(ctx context.Context, namespace string) error { log.Print("Adding repo.", field.M{"app": m.name}) err = cli.AddRepo(ctx, m.chart.RepoName, m.chart.RepoURL) if err != nil { - return errors.Wrapf(err, "Error helm repo for app %s.", m.name) + return errors.Wrapf(err, "Error adding helm repo for app %s.", m.name) } log.Print("Installing maria instance using helm.", field.M{"app": m.name}) diff --git a/pkg/app/mysql.go b/pkg/app/mysql.go index da31ce8734..1695601f69 100644 --- a/pkg/app/mysql.go +++ b/pkg/app/mysql.go @@ -82,7 +82,7 @@ func (mdb *MysqlDB) Install(ctx context.Context, namespace string) error { log.Print("Adding repo.", field.M{"app": mdb.name}) err = cli.AddRepo(ctx, mdb.chart.RepoName, mdb.chart.RepoURL) if err != nil { - return errors.Wrapf(err, "Error helm repo for app %s.", mdb.name) + return errors.Wrapf(err, "Error adding helm repo for app %s.", mdb.name) } log.Print("Installing mysql instance using helm.", field.M{"app": mdb.name})