mirror of
https://github.com/rancher/os.git
synced 2025-09-03 15:54:24 +00:00
Remove some dev debug output
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -198,6 +198,5 @@ outer:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Debugf("Input obj %v", result)
|
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
@@ -161,7 +161,6 @@ func readMetadata() datasource.Metadata {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func readCmdline() map[interface{}]interface{} {
|
func readCmdline() map[interface{}]interface{} {
|
||||||
log.Debug("Reading config cmdline")
|
|
||||||
cmdLine, err := ioutil.ReadFile("/proc/cmdline")
|
cmdLine, err := ioutil.ReadFile("/proc/cmdline")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithFields(log.Fields{"err": err}).Error("Failed to read kernel params")
|
log.WithFields(log.Fields{"err": err}).Error("Failed to read kernel params")
|
||||||
@@ -172,8 +171,6 @@ func readCmdline() map[interface{}]interface{} {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
//log.Debugf("Config cmdline %s", cmdLine)
|
|
||||||
|
|
||||||
cmdLineObj := parseCmdline(strings.TrimSpace(util.UnescapeKernelParams(string(cmdLine))))
|
cmdLineObj := parseCmdline(strings.TrimSpace(util.UnescapeKernelParams(string(cmdLine))))
|
||||||
|
|
||||||
return cmdLineObj
|
return cmdLineObj
|
||||||
|
Reference in New Issue
Block a user