Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
weekface committed Apr 24, 2019
1 parent c3e931e commit e0fd1ce
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -1695,12 +1695,7 @@ func (oa *operatorActions) CheckScheduledBackup(info *TidbClusterConfig) error {
return fmt.Errorf("scheduler job failed!")
}

err = oa.disableScheduledBackup(info)
if err != nil {
return err
}

return nil
return oa.disableScheduledBackup(info)
}

func getParentUIDFromJob(j batchv1.Job) (types.UID, bool) {
Expand Down

0 comments on commit e0fd1ce

Please sign in to comment.