1
0
mirror of https://github.com/rancher/os.git synced 2025-09-16 06:59:12 +00:00

Do not link to services that do not exist in the project

Fixes #495
This commit is contained in:
Ivan Mikushin
2015-08-26 14:48:19 +05:00
parent ab6cba20ff
commit 04472c7552
2 changed files with 12 additions and 7 deletions

View File

@@ -23,5 +23,5 @@ func (s *ServiceFactory) Create(project *project.Project, name string, serviceCo
}
}
return NewService(s, name, serviceConfig, s.Context), nil
return NewService(s, name, serviceConfig, s.Context, project), nil
}