1
0
mirror of https://github.com/rancher/os.git synced 2025-09-06 17:22:34 +00:00

Move around code for better clarity

This commit is contained in:
Darren Shepherd
2018-09-15 21:55:26 -07:00
committed by niusmallnan
parent 2f50b7b178
commit 1f50386828
112 changed files with 992 additions and 859 deletions

10
pkg/docker/util.go Normal file
View File

@@ -0,0 +1,10 @@
package docker
import (
composeConfig "github.com/docker/libcompose/config"
"github.com/rancher/os/config"
)
func IsSystemContainer(serviceConfig *composeConfig.ServiceConfig) bool {
return serviceConfig.Labels[config.ScopeLabel] == config.System
}