Linting fixes called-out by vscode
A few linting issues that were called out by vscode. Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
/*
|
||||
Create a ignition struct class for ignition
|
||||
*/
|
||||
func (node *Node) GetStorage() (stor types_3_4.Storage, err error, rep string) {
|
||||
func (node *Node) GetStorage() (stor types_3_4.Storage, rep string, err error) {
|
||||
var fileSystems []types_3_4.Filesystem
|
||||
for fsdevice, fs := range node.FileSystems {
|
||||
var mountOptions []types_3_4.MountOption
|
||||
@@ -142,7 +142,7 @@ type SimpleIgnitionConfig struct {
|
||||
Get a simple config which can be marshalled to json
|
||||
*/
|
||||
func (node *Node) GetConfig() (conf SimpleIgnitionConfig, rep string, err error) {
|
||||
conf.Storage, err, rep = node.GetStorage()
|
||||
conf.Storage, rep, err = node.GetStorage()
|
||||
conf.Ignition.Version = "3.1.0"
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user