mirror of
https://github.com/rancher/os.git
synced 2025-09-02 23:34:57 +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
|
||||
}
|
||||
|
@@ -161,7 +161,6 @@ func readMetadata() datasource.Metadata {
|
||||
}
|
||||
|
||||
func readCmdline() map[interface{}]interface{} {
|
||||
log.Debug("Reading config cmdline")
|
||||
cmdLine, err := ioutil.ReadFile("/proc/cmdline")
|
||||
if err != nil {
|
||||
log.WithFields(log.Fields{"err": err}).Error("Failed to read kernel params")
|
||||
@@ -172,8 +171,6 @@ func readCmdline() map[interface{}]interface{} {
|
||||
return nil
|
||||
}
|
||||
|
||||
//log.Debugf("Config cmdline %s", cmdLine)
|
||||
|
||||
cmdLineObj := parseCmdline(strings.TrimSpace(util.UnescapeKernelParams(string(cmdLine))))
|
||||
|
||||
return cmdLineObj
|
||||
|
Reference in New Issue
Block a user