Skip to content

Commit

Permalink
Add error check
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed May 27, 2023
1 parent 11c3df6 commit 62dc33d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions definition/definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ func (opts *DefinitionOpts) Load(profile string, command string, image string, c

cluster, err := ecspressoConf.get("cluster")

if err != nil {
return nil, err
}

return &Definition{
EcspressoConfig: ecspressoConf,
Service: serviceDef,
Expand Down

0 comments on commit 62dc33d

Please sign in to comment.