mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user