mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
Changes required due to labels type change in ServiceConfig
This commit is contained in:
@@ -77,7 +77,7 @@ func (c *containerBasedService) Name() string {
|
||||
}
|
||||
|
||||
func isSystemService(serviceConfig *project.ServiceConfig) bool {
|
||||
return util.GetValue(serviceConfig.Labels, config.SCOPE) == config.SYSTEM
|
||||
return serviceConfig.Labels.MapParts()[config.SCOPE] == config.SYSTEM
|
||||
}
|
||||
|
||||
func (c *ContainerFactory) Create(project *project.Project, name string, serviceConfig *project.ServiceConfig) (project.Service, error) {
|
||||
|
Reference in New Issue
Block a user