codeamp / circuit

CodeAmp API. Built with Golang, GraphQL, GORM and Socket-IO
Apache License 2.0
21 stars 6 forks source link

Handle empty deployment strategy string better #445

Open drshrey opened 5 years ago

drshrey commented 5 years ago

In our exported services YAML file, we have an empty string for deploymentStrategy if there isn't one associated with the particular service. When we import the same Service object, we should simply acknowledge the empty deploymentStrategy and move on rather than rejecting the Service input. We should the same for any other attributes that can be handled in a similar manner.