summaryrefslogtreecommitdiffstats
path: root/pkg/commands/os.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-08-26 15:46:18 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-08-26 16:53:31 +1000
commit540edc0c35e97393d9a01c927f7ac962bcbf6d37 (patch)
treef9f93b1905828f0c665fc25819400e16f4cbc27e /pkg/commands/os.go
parent93ab892bdd1226f9a519a938c8b28590e71e54f3 (diff)
anonymous reporting data
Diffstat (limited to 'pkg/commands/os.go')
-rw-r--r--pkg/commands/os.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go
index 1eef36151..0b490e995 100644
--- a/pkg/commands/os.go
+++ b/pkg/commands/os.go
@@ -25,12 +25,12 @@ type Platform struct {
// OSCommand holds all the os commands
type OSCommand struct {
- Log *logrus.Logger
+ Log *logrus.Entry
Platform *Platform
}
// NewOSCommand os command runner
-func NewOSCommand(log *logrus.Logger) (*OSCommand, error) {
+func NewOSCommand(log *logrus.Entry) (*OSCommand, error) {
osCommand := &OSCommand{
Log: log,
Platform: getPlatform(),