Skip to content

Commit

Permalink
Update controllers/mover/restic/builder.go
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas <9749173+uhthomas@users.noreply.github.com>
Signed-off-by: Devin Buhl <onedr0p@users.noreply.github.com>
  • Loading branch information
onedr0p and uhthomas committed Jul 27, 2023
1 parent da6cadf commit 93c24ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion controllers/mover/restic/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ func (rb *Builder) FromSource(client client.Client, logger logr.Logger,
saHandler := utils.NewSAHandler(client, source, isSource, privileged,
source.Spec.Restic.MoverServiceAccount)

isImmediate := source.Spec.Immediate == nil
isImmediate := true
if source.Spec.Immediate != nil {
isImmediate = *source.Spec.Immediate
}

return &Mover{
client: client,
Expand Down

0 comments on commit 93c24ce

Please sign in to comment.