1
0
mirror of https://github.com/rancher/os.git synced 2025-09-25 04:37:02 +00:00

make ros log to dmesg

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2016-11-23 20:49:35 +10:00
parent 2e03f1b706
commit 4df962d4b6
69 changed files with 691 additions and 169 deletions

View File

@@ -7,9 +7,9 @@ import (
"strings"
"syscall"
"github.com/rancher/os/log"
"golang.org/x/net/context"
"github.com/Sirupsen/logrus"
"github.com/codegangsta/cli"
"github.com/docker/libcompose/project"
"github.com/docker/libcompose/project/options"
@@ -102,7 +102,7 @@ func ProjectUp(p project.APIProject, c *cli.Context) error {
cleanupDone <- true
case err := <-errChan:
if err != nil {
logrus.Fatal(err)
log.Fatal(err)
}
cleanupDone <- true
}
@@ -155,7 +155,7 @@ func ProjectDelete(p project.APIProject, c *cli.Context) error {
var answer string
_, err := fmt.Scanln(&answer)
if err != nil {
logrus.Error(err)
log.Error(err)
return false
}
if answer != "y" && answer != "Y" {