@@ -986,19 +986,20 @@ func TestMigrateLegacyToRichParameters(t *testing.T) {
986
986
Parse : []* proto.Parse_Response {{
987
987
Type : & proto.Parse_Response_Complete {
988
988
Complete : & proto.Parse_Complete {
989
- ParameterSchemas : []* proto.ParameterSchema {{
990
- AllowOverrideSource : true ,
991
- Name : "example" ,
992
- Description : "description 1" ,
993
- DefaultSource : & proto.ParameterSource {
994
- Scheme : proto .ParameterSource_DATA ,
995
- Value : "tomato" ,
996
- },
997
- DefaultDestination : & proto.ParameterDestination {
998
- Scheme : proto .ParameterDestination_PROVISIONER_VARIABLE ,
989
+ ParameterSchemas : []* proto.ParameterSchema {
990
+ {
991
+ AllowOverrideSource : true ,
992
+ Name : "example" ,
993
+ Description : "description 1" ,
994
+ DefaultSource : & proto.ParameterSource {
995
+ Scheme : proto .ParameterSource_DATA ,
996
+ Value : "tomato" ,
997
+ },
998
+ DefaultDestination : & proto.ParameterDestination {
999
+ Scheme : proto .ParameterDestination_PROVISIONER_VARIABLE ,
1000
+ },
999
1001
},
1000
1002
},
1001
- },
1002
1003
},
1003
1004
},
1004
1005
}},
@@ -1027,19 +1028,20 @@ func TestMigrateLegacyToRichParameters(t *testing.T) {
1027
1028
Parse : []* proto.Parse_Response {{
1028
1029
Type : & proto.Parse_Response_Complete {
1029
1030
Complete : & proto.Parse_Complete {
1030
- ParameterSchemas : []* proto.ParameterSchema {{
1031
- AllowOverrideSource : true ,
1032
- Name : "example" ,
1033
- Description : "description 1" ,
1034
- DefaultSource : & proto.ParameterSource {
1035
- Scheme : proto .ParameterSource_DATA ,
1036
- Value : "tomato" ,
1037
- },
1038
- DefaultDestination : & proto.ParameterDestination {
1039
- Scheme : proto .ParameterDestination_PROVISIONER_VARIABLE ,
1031
+ ParameterSchemas : []* proto.ParameterSchema {
1032
+ {
1033
+ AllowOverrideSource : true ,
1034
+ Name : "example" ,
1035
+ Description : "description 1" ,
1036
+ DefaultSource : & proto.ParameterSource {
1037
+ Scheme : proto .ParameterSource_DATA ,
1038
+ Value : "tomato" ,
1039
+ },
1040
+ DefaultDestination : & proto.ParameterDestination {
1041
+ Scheme : proto .ParameterDestination_PROVISIONER_VARIABLE ,
1042
+ },
1040
1043
},
1041
1044
},
1042
- },
1043
1045
},
1044
1046
},
1045
1047
}},
0 commit comments