Skip to content

Commit

Permalink
Remove unnecessary if.
Browse files Browse the repository at this point in the history
  • Loading branch information
dougfales authored and AMecea committed Jan 9, 2020
1 parent bc3208c commit 2205bea
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/sidecar/appclone.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,7 @@ func RunCloneCommand(cfg *Config) error {
}

// prepare backup
if err := xtrabackupPrepareData(); err != nil {
return err
}

return nil
return xtrabackupPrepareData()
}

func isServiceAvailable(svc string) bool {
Expand Down

0 comments on commit 2205bea

Please sign in to comment.