Skip to content

Commit

Permalink
Merge pull request #10968 from MUzairS15/MUzairS15/pattern/cyto-conve…
Browse files Browse the repository at this point in the history
…rsion

[server]fix missing services attribute for empty design
  • Loading branch information
MUzairS15 committed May 15, 2024
2 parents 7506ee8 + 7cd30fb commit 7818e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/pattern/core/pattern.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ type Pattern struct {
// PatternID is the moniker use to uniquely identify any given pattern
// Convention: SMP-###-v#.#.#
PatternID string `yaml:"patternID,omitempty" json:"patternID,omitempty"`
Services map[string]*Service `yaml:"services,omitempty" json:"services,omitempty"`
Services map[string]*Service `yaml:"services" json:"services"`
}

// Service represents the services defined within the appfile
Expand Down

0 comments on commit 7818e6f

Please sign in to comment.