dce-go icon indicating copy to clipboard operation
dce-go copied to clipboard

Panic on empty service in a compose file

Open kmala opened this issue 7 years ago • 1 comments

When one of the compose file has an empty service for example, even though other compose files have the same service with details, DCE is failing. This is a valid compose file and docker compose will succeed.

#---#
#docker-compose-base.yml
 
version: '2'
services:
  ##Application container overrides
   test:
      <all the details about the service like image etc.,>
#---#
#docker-compose-extends-base.yml
 
version: '2'
services:
  ##Application container overrides
   test:

kmala avatar Nov 09 '18 06:11 kmala

time="2018-11-08T21:44:30-08:00" level=info msg="Starting Edit compose file poddata_820f45f2-3eba-4c00-a779-03b4462f0944/docker-compose-extends-base.yml-generated.yml" plugin=general time="2018-11-08T21:44:30-08:00" level=info msg="POD_UPDATE_YAML_FAIL" time="2018-11-08T21:44:30-08:00" level=info msg="Recover : assignment to entry in nil map \n" time="2018-11-08T21:44:30-08:00" level=info msg="Update Status : Update podStatus as POD_FAILED" time="2018-11-08T21:44:30-08:00" level=info msg="LogStatus: false" func=pod.SendMesosStatus state=

kmala avatar Nov 09 '18 07:11 kmala