Skip to content

Commit 52076c3

Browse files
cfergeaugbraad
authored andcommitted
Issue #410 Improve bundle extraction log
It currently is INFO Extracting the crc_libvirt_4.1.9.crcbundle Bundle tarball ... which is a bit awkward. Since we don't want to mention it's a tarball, let's change the message to: INFO Extracting bundle: crc_libvirt_4.1.9.crcbundle ... #410
1 parent 2647848 commit 52076c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/crc/machine/machine.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func Start(startConfig StartConfig) (StartResult, error) {
5959
Memory: startConfig.Memory,
6060
}
6161

62-
logging.Infof("Extracting the %s Bundle tarball ...", filepath.Base(machineConfig.BundlePath))
62+
logging.Infof("Extracting bundle: %s ...", filepath.Base(machineConfig.BundlePath))
6363
crcBundleMetadata, extractedPath, err := bundle.GetCrcBundleInfo(machineConfig)
6464
if err != nil {
6565
result.Error = err.Error()
@@ -166,7 +166,7 @@ func Start(startConfig StartConfig) (StartResult, error) {
166166
logging.Debug("Waiting until ssh is available")
167167
if err := cluster.WaitForSsh(host.Driver); err != nil {
168168
result.Error = err.Error()
169-
return *result, errors.New(err.Error())
169+
return *result, errors.New("Failed to connect to the crc VM with SSH")
170170
}
171171

172172
// Check the certs validity inside the vm

0 commit comments

Comments
 (0)