File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
test/infrastructure/docker/api Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,9 @@ func (src *DockerCluster) ConvertTo(dstRaw conversion.Hub) error {
5757
5858 if ok {
5959 RestoreDockerClusterSpec (& restored .Spec , & dst .Spec )
60+ RestoreDockerClusterStatus (& restored .Status , & dst .Status )
6061 }
6162
62- RestoreDockerClusterStatus (& restored .Status , & dst .Status )
63-
6463 return nil
6564}
6665
@@ -118,10 +117,9 @@ func (src *DockerMachine) ConvertTo(dstRaw conversion.Hub) error {
118117
119118 if ok {
120119 RestoreDockerMachineSpec (& restored .Spec , & dst .Spec )
120+ RestoreDockerMachineStatus (& restored .Status , & dst .Status )
121121 }
122122
123- RestoreDockerMachineStatus (& restored .Status , & dst .Status )
124-
125123 return nil
126124}
127125
Original file line number Diff line number Diff line change @@ -57,10 +57,9 @@ func (src *DockerCluster) ConvertTo(dstRaw conversion.Hub) error {
5757
5858 if ok {
5959 RestoreDockerClusterSpec (& restored .Spec , & dst .Spec )
60+ RestoreDockerClusterStatus (& restored .Status , & dst .Status )
6061 }
6162
62- RestoreDockerClusterStatus (& restored .Status , & dst .Status )
63-
6463 return nil
6564}
6665
@@ -149,10 +148,9 @@ func (src *DockerMachine) ConvertTo(dstRaw conversion.Hub) error {
149148
150149 if ok {
151150 RestoreDockerMachineSpec (& restored .Spec , & dst .Spec )
151+ RestoreDockerMachineStatus (& restored .Status , & dst .Status )
152152 }
153153
154- RestoreDockerMachineStatus (& restored .Status , & dst .Status )
155-
156154 return nil
157155}
158156
You can’t perform that action at this time.
0 commit comments