We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2a0e24 commit c0f6c2aCopy full SHA for c0f6c2a
1 file changed
xhyve/xhyve.go
@@ -734,7 +734,7 @@ func (d *Driver) generateQcow2Image(size int64) error {
734
735
func (d *Driver) setupMounts() error {
736
if d.Virtio9p {
737
- err = d.setupVirt9pShare()
+ err := d.setupVirt9pShare()
738
if err != nil {
739
log.Errorf("virtio-9p setup failed: %s", err.Error())
740
return err
@@ -744,7 +744,7 @@ func (d *Driver) setupMounts() error {
744
// Setup NFS sharing
745
if d.NFSShare {
746
log.Infof("NFS share folder must be root. Please insert root password.")
747
- err = d.setupNFSShare()
+ err := d.setupNFSShare()
748
749
log.Errorf("NFS setup failed: %s", err.Error())
750
0 commit comments