Skip to content

Commit

Permalink
Don't fail scheduler if bad credetials are given
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Jun 30, 2017
1 parent 50d5b35 commit 011bba8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ func (c *Scheduler) Setup() error {
return err
}
c.resticCLI.DumpEnv()
return c.resticCLI.InitRepositoryIfAbsent()
// ignore error but helps debug bad setup.
c.resticCLI.InitRepositoryIfAbsent()
return nil
}

func (c *Scheduler) RunAndHold() {
Expand Down

0 comments on commit 011bba8

Please sign in to comment.