Skip to content

Commit

Permalink
update migrate not found bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfa committed Nov 3, 2022
1 parent d96032b commit 4ce5a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/paas/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func NewCmdMigrate(in io.Reader, out, errout io.Writer) *cobra.Command {
}
}

if response.State == Completed || response.State == Failed {
if response.State == Completed || response.State == Failed || response.StatusCode == http.StatusNotFound {
project, err := getSelectedProject(in, explainOut)
if err != nil {
failureOutput(err.Error())
Expand Down

0 comments on commit 4ce5a3b

Please sign in to comment.