Skip to content

Commit 388bdc9

Browse files
Merge pull request #1447 from justincormack/unix-linux
Clean up unix vs linux usage
2 parents 87bcac7 + 75597f2 commit 388bdc9

File tree

7 files changed

+2
-12
lines changed

7 files changed

+2
-12
lines changed

libcontainer/configs/cgroup_unix.go renamed to libcontainer/configs/cgroup_linux.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux freebsd
2-
31
package configs
42

53
type FreezerState string

libcontainer/configs/config_unix.go renamed to libcontainer/configs/config_linux.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build freebsd linux
2-
31
package configs
42

53
import "fmt"

libcontainer/configs/config_unix_test.go renamed to libcontainer/configs/config_linux_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux freebsd
2-
31
package configs
42

53
import (

libcontainer/configs/namespaces_unix.go renamed to libcontainer/configs/namespaces_linux.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux freebsd
2-
31
package configs
42

53
import (

libcontainer/configs/namespaces_unsupported.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build !linux,!freebsd
1+
// +build !linux
22

33
package configs
44

libcontainer/devices/devices_unix.go renamed to libcontainer/devices/devices_linux.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux freebsd
2-
31
package devices
42

53
import (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// +build windows
1+
// +build !linux
22

33
package devices

0 commit comments

Comments
 (0)