Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
Fix go vet
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Dec 1, 2021
1 parent 7876d14 commit 085bc09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/config/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,8 @@ func readConfigMap(cfg string, includeCmdline bool) (map[string]interface{}, err
if newISOURL == "" {
if isoURL == "" {
return nil, fmt.Errorf("rancheros.install.iso_url is required to be set in /proc/cmdline or MachineRegistration")
} else {
values.PutValue(newData, isoURL, "rancheros", "install", "isoUrl")
}
values.PutValue(newData, isoURL, "rancheros", "install", "isoUrl")
}
return newData, nil
}
Expand Down

0 comments on commit 085bc09

Please sign in to comment.