@@ -215,6 +215,7 @@ func TestLoadLogging(t *testing.T) {
215215 Name : "foo" ,
216216 Logging : tc .expected ,
217217 Environment : types.MappingWithEquals {},
218+ Scale : 1 ,
218219 },
219220 },
220221 Networks : types.Networks {},
@@ -370,6 +371,7 @@ func TestLoadMultipleServicePorts(t *testing.T) {
370371 Name : "foo" ,
371372 Ports : tc .expected ,
372373 Environment : types.MappingWithEquals {},
374+ Scale : 1 ,
373375 },
374376 },
375377 Networks : types.Networks {},
@@ -495,6 +497,7 @@ func TestLoadMultipleSecretsConfig(t *testing.T) {
495497 Name : "foo" ,
496498 Secrets : tc .expected ,
497499 Environment : types.MappingWithEquals {},
500+ Scale : 1 ,
498501 },
499502 },
500503 Networks : types.Networks {},
@@ -620,6 +623,7 @@ func TestLoadMultipleConfigobjsConfig(t *testing.T) {
620623 Name : "foo" ,
621624 Configs : tc .expected ,
622625 Environment : types.MappingWithEquals {},
626+ Scale : 1 ,
623627 },
624628 },
625629 Networks : types.Networks {},
@@ -735,6 +739,7 @@ func TestLoadMultipleUlimits(t *testing.T) {
735739 Name : "foo" ,
736740 Ulimits : tc .expected ,
737741 Environment : types.MappingWithEquals {},
742+ Scale : 1 ,
738743 },
739744 },
740745 Networks : types.Networks {},
@@ -853,6 +858,7 @@ func TestLoadMultipleServiceNetworks(t *testing.T) {
853858 Name : "foo" ,
854859 Networks : tc .expected ,
855860 Environment : types.MappingWithEquals {},
861+ Scale : 1 ,
856862 },
857863 },
858864 Networks : types.Networks {},
@@ -944,6 +950,7 @@ func TestLoadMultipleConfigs(t *testing.T) {
944950 Name : "bar" ,
945951 Image : "bar" ,
946952 Environment : types.MappingWithEquals {},
953+ Scale : 1 ,
947954 },
948955 {
949956 Name : "foo" ,
@@ -981,6 +988,7 @@ func TestLoadMultipleConfigs(t *testing.T) {
981988 },
982989 CapAdd : []string {"NET_ADMIN" , "SYS_ADMIN" },
983990 Environment : types.MappingWithEquals {},
991+ Scale : 1 ,
984992 }},
985993 Networks : types.Networks {},
986994 Volumes : types.Volumes {},
@@ -1044,6 +1052,7 @@ func TestLoadMultipleNetworks(t *testing.T) {
10441052 Name : "foo" ,
10451053 Image : "baz" ,
10461054 Environment : types.MappingWithEquals {},
1055+ Scale : 1 ,
10471056 }},
10481057 Networks : map [string ]types.NetworkConfig {
10491058 "hostnet" : {
0 commit comments