File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ func Builder() *cobra.Command {
99 o := & opts {fs : afero .NewOsFs ()}
1010 cmd := & cobra.Command {
1111 Use : "clusterToAdvancedCluster" ,
12- Short : "Convert cluster to advanced_cluster" ,
13- Long : "Convert a Terraform configuration from mongodbatlas_cluster to mongodbatlas_advanced_cluster" ,
12+ Short : "Convert cluster to advanced_cluster v2 " ,
13+ Long : "Convert a Terraform configuration from mongodbatlas_cluster to mongodbatlas_advanced_cluster schema v2 " ,
1414 Aliases : []string {"clu2adv" },
15- PreRunE : func (cmd * cobra.Command , args []string ) error {
16- return o .PreRun ()
17- },
1815 RunE : func (_ * cobra.Command , _ []string ) error {
16+ if err := o .PreRun (); err != nil {
17+ return err
18+ }
1919 return o .Run ()
2020 },
2121 }
You can’t perform that action at this time.
0 commit comments