|
|
@ -99,10 +99,8 @@ func (fm *FetchMigratory) MigrateFromGitHub() error { |
|
|
|
"repo": fmt.Sprintf("%s/%s", fm.RepoOwner, fm.RepoName), |
|
|
|
"repo": fmt.Sprintf("%s/%s", fm.RepoOwner, fm.RepoName), |
|
|
|
}).Errorf("migration failed: %v", fm.Status.FatalError) |
|
|
|
}).Errorf("migration failed: %v", fm.Status.FatalError) |
|
|
|
return err |
|
|
|
return err |
|
|
|
} else { |
|
|
|
|
|
|
|
comments = *cmts |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
comments = *cmts |
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
|
fm.Status.Stage = Failed |
|
|
|
fm.Status.Stage = Failed |
|
|
|
fm.Status.FatalError = err |
|
|
|
fm.Status.FatalError = err |
|
|
|