Enable build on unsupported platforms

Should compile now without errors but changes needed to be added for each system so it actually works.
main_unsupported.go is a new file with all the unsupported commands
Fixes #9

Signed-off-by: Marianna <mtesselh@gmail.com>
This commit is contained in:
Marianna
2015-06-29 16:49:13 -07:00
parent 85e264d0b9
commit 5aa82c950d
10 changed files with 72 additions and 33 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
// +build linux
package main
import (
@@ -56,7 +58,7 @@ var eventsCommand = cli.Command{
return
}
go func() {
for _ = range time.Tick(context.Duration("interval")) {
for range time.Tick(context.Duration("interval")) {
s, err := container.Stats()
if err != nil {
logrus.Error(err)