From 2283c05be2f90331f35ea8f7affd7d30c52da74e Mon Sep 17 00:00:00 2001 From: ochinchina Date: Mon, 2 Mar 2020 13:39:06 +0530 Subject: [PATCH] fix process sort failure --- config/process_sort.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/process_sort.go b/config/process_sort.go index 26fd0d2b..83c10517 100644 --- a/config/process_sort.go +++ b/config/process_sort.go @@ -38,8 +38,8 @@ func NewProcessSorter() *ProcessSorter { func (p *ProcessSorter) initDepends(programConfigs []*Entry) { //sort by dependsOn for _, config := range programConfigs { - if config.IsProgram() && config.HasParameter("dependsOn") { - dependsOn := config.GetString("dependsOn", "") + if config.IsProgram() && config.HasParameter("depends_on") { + dependsOn := config.GetString("depends_on", "") progName := config.GetProgramName() for _, dependsOnProg := range strings.Split(dependsOn, ",") { dependsOnProg = strings.TrimSpace(dependsOnProg)