Skip to content

Commit

Permalink
Merge pull request #7924 from planetscale/vtctl-invalid-ddl-strategy-v10
Browse files Browse the repository at this point in the history
vtctl: return error on invalid ddl_strategy
  • Loading branch information
shlomi-noach authored Apr 22, 2021
2 parents c25c0e8 + ffd8630 commit 889406d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtctl/vtctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -2840,7 +2840,7 @@ func commandApplySchema(ctx context.Context, wr *wrangler.Wrangler, subFlags *fl
executor.SkipPreflight()
}
if err := executor.SetDDLStrategy(*ddlStrategy); err != nil {
return nil
return err
}

return schemamanager.Run(
Expand Down

0 comments on commit 889406d

Please sign in to comment.