1
0
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:
Sven Dowideit
2017-03-14 13:25:08 +10:00
parent 8ee82f263d
commit 8babf66dc4
2 changed files with 0 additions and 4 deletions

View File

@@ -198,6 +198,5 @@ outer:
}
}
log.Debugf("Input obj %v", result)
return result
}

View File

@@ -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