@@ -267,11 +267,11 @@ func TestBuildRAIDCleanSteps(t *testing.T) {
267267 },
268268 expected : []nodes.CleanStep {
269269 {
270- Interface : "raid" ,
270+ Interface : nodes . InterfaceRAID ,
271271 Step : "delete_configuration" ,
272272 },
273273 {
274- Interface : "raid" ,
274+ Interface : nodes . InterfaceRAID ,
275275 Step : "create_configuration" ,
276276 },
277277 },
@@ -317,7 +317,7 @@ func TestBuildRAIDCleanSteps(t *testing.T) {
317317 },
318318 expected : []nodes.CleanStep {
319319 {
320- Interface : "raid" ,
320+ Interface : nodes . InterfaceRAID ,
321321 Step : "delete_configuration" ,
322322 },
323323 },
@@ -334,15 +334,15 @@ func TestBuildRAIDCleanSteps(t *testing.T) {
334334 },
335335 expected : []nodes.CleanStep {
336336 {
337- Interface : "raid" ,
337+ Interface : nodes . InterfaceRAID ,
338338 Step : "delete_configuration" ,
339339 },
340340 {
341- Interface : "deploy" ,
341+ Interface : nodes . InterfaceDeploy ,
342342 Step : "erase_devices_metadata" ,
343343 },
344344 {
345- Interface : "raid" ,
345+ Interface : nodes . InterfaceRAID ,
346346 Step : "create_configuration" ,
347347 },
348348 },
@@ -380,11 +380,11 @@ func TestBuildRAIDCleanSteps(t *testing.T) {
380380 },
381381 expected : []nodes.CleanStep {
382382 {
383- Interface : "raid" ,
383+ Interface : nodes . InterfaceRAID ,
384384 Step : "delete_configuration" ,
385385 },
386386 {
387- Interface : "deploy" ,
387+ Interface : nodes . InterfaceDeploy ,
388388 Step : "erase_devices_metadata" ,
389389 },
390390 },
0 commit comments