File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ func (src *Test) ConvertTo(dstRaw conversion.Hub) error {
52
52
if src .Spec .Content != nil {
53
53
dst .Spec .Content = & testkubev2.TestContent {
54
54
Data : src .Spec .Content .Data ,
55
- Type_ : src .Spec .Content .Type_ ,
55
+ Type_ : string ( src .Spec .Content .Type_ ) ,
56
56
Uri : src .Spec .Content .Uri ,
57
57
}
58
58
}
@@ -112,7 +112,7 @@ func (dst *Test) ConvertFrom(srcRaw conversion.Hub) error {
112
112
if src .Spec .Content != nil {
113
113
dst .Spec .Content = & TestContent {
114
114
Data : src .Spec .Content .Data ,
115
- Type_ : src .Spec .Content .Type_ ,
115
+ Type_ : TestContentType ( src .Spec .Content .Type_ ) ,
116
116
Uri : src .Spec .Content .Uri ,
117
117
}
118
118
}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ func (src *TestSuite) ConvertTo(dstRaw conversion.Hub) error {
58
58
for i := range stepType .Source {
59
59
value := stepType .Source [i ]
60
60
step := testkubev1.TestSuiteStepSpec {
61
- Type : value .Type ,
61
+ Type : string ( value .Type ) ,
62
62
}
63
63
64
64
if value .Delay != nil {
@@ -132,7 +132,7 @@ func (dst *TestSuite) ConvertFrom(srcRaw conversion.Hub) error {
132
132
for i := range stepType .source {
133
133
value := stepType .source [i ]
134
134
step := TestSuiteStepSpec {
135
- Type : value .Type ,
135
+ Type : TestSuiteStepType ( value .Type ) ,
136
136
}
137
137
138
138
if value .Delay != nil {
You can’t perform that action at this time.
0 commit comments