Skip to content

Commit 3aea666

Browse files
committed
Envs and scripts
1 parent e3be047 commit 3aea666

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

provisioner/terraform/resources_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,6 +1066,12 @@ func sortResources(resources []*proto.Resource) {
10661066
sort.Slice(agent.Apps, func(i, j int) bool {
10671067
return agent.Apps[i].Slug < agent.Apps[j].Slug
10681068
})
1069+
sort.Slice(agent.ExtraEnvs, func(i, j int) bool {
1070+
return agent.ExtraEnvs[i].Name < agent.ExtraEnvs[j].Name
1071+
})
1072+
sort.Slice(agent.Scripts, func(i, j int) bool {
1073+
return agent.Scripts[i].DisplayName < agent.Scripts[j].DisplayName
1074+
})
10691075
}
10701076
sort.Slice(resource.Agents, func(i, j int) bool {
10711077
return resource.Agents[i].Name < resource.Agents[j].Name

0 commit comments

Comments
 (0)