Skip to content

Commit c97582e

Browse files
committed
test: add tests for state checks
1 parent 6977b78 commit c97582e

File tree

2 files changed

+405
-11
lines changed

2 files changed

+405
-11
lines changed

internal/identify/identify_lagoonservices.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ type IdentifyServices struct {
1515
}
1616

1717
type LagoonServices struct {
18-
Services []schema.EnvironmentService `json:"services"`
19-
Volumes []schema.EnvironmentVolume `json:"volumes"`
18+
Services []schema.EnvironmentService `json:"services,omitempty"`
19+
Volumes []schema.EnvironmentVolume `json:"volumes,omitempty"`
2020
}
2121

2222
// LagoonServiceTemplateIdentification takes the output of the generator and returns a JSON payload that contains information

0 commit comments

Comments
 (0)