Skip to content

Commit 20cd67b

Browse files
committed
simplify the code
1 parent 1d2ab24 commit 20cd67b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pipelines/resource_pipeline.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,7 @@ func ResourcePipeline() common.Resource {
349349
if err := d.ForceNew("catalog"); err != nil {
350350
return err
351351
}
352-
if err := d.ForceNew("storage"); err != nil {
353-
return err
354-
}
352+
return d.ForceNew("storage")
355353
}
356354
return nil
357355
},

0 commit comments

Comments
 (0)