mirror of
https://github.com/rancher/os.git
synced 2025-09-01 23:04:41 +00:00
isolate and mark platform dependent code
now unit tests compile on OS X and (some of them) work
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// +build linux
|
||||
|
||||
package init
|
||||
|
||||
import (
|
||||
@@ -77,7 +79,7 @@ outer:
|
||||
"autoformat": {
|
||||
Net: "none",
|
||||
Privileged: true,
|
||||
Image: "rancher/os-autoformat:"+config.VERSION,
|
||||
Image: "rancher/os-autoformat:" + config.VERSION,
|
||||
Command: project.NewCommand(format),
|
||||
Labels: project.NewSliceorMap(map[string]string{
|
||||
config.DETACH: "false",
|
||||
|
Reference in New Issue
Block a user