File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ func (s *Service) NewRunNumber() (runNumber uint32, err error) {
9595// response: but not all of them! some vars will likely only get parsed at deployment time i.e. right
9696// before pushing TaskInfos
9797func (s * Service ) GetDefaults () map [string ]string {
98- smap := s .getStringMap (filepath .Join (getConsulRuntimePrefix (),"defaults" ))
98+ smap := s .getStringMap (filepath .Join (getAliECSRuntimePrefix (), "defaults" ))
9999
100100 // Fill in some global constants we want to make available everywhere
101101 var configUri string
@@ -123,7 +123,7 @@ func (s *Service) GetDefaults() map[string]string {
123123}
124124
125125func (s * Service ) GetVars () map [string ]string {
126- return s .getStringMap (filepath .Join (getConsulRuntimePrefix (),"vars" ))
126+ return s .getStringMap (filepath .Join (getAliECSRuntimePrefix (), "vars" ))
127127}
128128
129129// Returns a YAML file OR even a structure made of Roles or Nodes with:
@@ -507,9 +507,11 @@ func (s *Service) ImportComponentConfiguration(query *componentcfg.Query, payloa
507507 return
508508}
509509
510-
511-
512510func getConsulRuntimePrefix () string {
513511 // FIXME: this should not be hardcoded
514512 return "o2/runtime"
515513}
514+
515+ func getAliECSRuntimePrefix () string {
516+ return getConsulRuntimePrefix () + "/aliecs"
517+ }
You can’t perform that action at this time.
0 commit comments