Skip to content

Commit 2932189

Browse files
cfergeauanjannath
authored andcommitted
Reword a few pull secret related strings
Trying to improve the wording, but I'm sure it could be even better.
1 parent 80c6c3b commit 2932189

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/crc/cluster/cluster.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,14 +237,14 @@ func RemovePullSecretFromCluster(ctx context.Context, ocConfig oc.Config, sshRun
237237
}
238238

239239
func waitForPullSecretRemovedFromInstanceDisk(ctx context.Context, sshRunner *ssh.Runner) error {
240-
logging.Info("Waiting for user's pull secret removed from instance disk...")
240+
logging.Info("Waiting until the user's pull secret is removed from the instance disk...")
241241
pullSecretPresentFunc := func() error {
242242
stdout, stderr, err := sshRunner.RunPrivate(fmt.Sprintf("sudo cat %s", vmPullSecretPath))
243243
if err != nil {
244244
return &errors.RetriableError{Err: fmt.Errorf("failed to read %s file: %v: %s", vmPullSecretPath, err, stderr)}
245245
}
246246
if err := validation.ImagePullSecret(stdout); err == nil {
247-
return &errors.RetriableError{Err: fmt.Errorf("pull secret still part of instance disk")}
247+
return &errors.RetriableError{Err: fmt.Errorf("pull secret is still present on the instance disk")}
248248
}
249249
return nil
250250
}
@@ -417,7 +417,7 @@ func (p *PullSecretMemoizer) Value() (string, error) {
417417
}
418418

419419
func WaitForPullSecretPresentOnInstanceDisk(ctx context.Context, sshRunner *ssh.Runner) error {
420-
logging.Info("Waiting for user's pull secret part of instance disk...")
420+
logging.Info("Waiting until the user's pull secret is written to the instance disk...")
421421
pullSecretPresentFunc := func() error {
422422
stdout, stderr, err := sshRunner.RunPrivate(fmt.Sprintf("sudo cat %s", vmPullSecretPath))
423423
if err != nil {

0 commit comments

Comments
 (0)