Skip to content

Commit 88f8fad

Browse files
authored
reword 'waiting X for admin console' message (#165)
1 parent 3a3c6e6 commit 88f8fad

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/addons/adminconsole/adminconsole.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ func (a *AdminConsole) GenerateHelmConfig() ([]v1beta1.Chart, []v1beta1.Reposito
198198
func (a *AdminConsole) Outro(ctx context.Context, cli client.Client) error {
199199
loading := pb.Start()
200200
backoff := wait.Backoff{Steps: 60, Duration: 5 * time.Second, Factor: 1.0, Jitter: 0.1}
201-
duration := kubeutils.BackOffToDuration(backoff)
202-
loading.Infof("Waiting %v for Admin Console to deploy: 0/3 ready", duration)
201+
loading.Infof("Waiting for Admin Console to deploy: 0/3 ready")
203202
var lasterr error
204203
if err := wait.ExponentialBackoff(backoff, func() (bool, error) {
205204
var count int
@@ -221,7 +220,7 @@ func (a *AdminConsole) Outro(ctx context.Context, cli client.Client) error {
221220
count++
222221
}
223222
}
224-
loading.Infof("Waiting %v for Admin Console to deploy: %d/3 ready", duration, count)
223+
loading.Infof("Waiting for Admin Console to deploy: %d/3 ready", count)
225224
return count == 3, nil
226225
}); err != nil {
227226
if lasterr == nil {

0 commit comments

Comments
 (0)