Skip to content

Commit

Permalink
processing: hide units after completion (fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Oct 29, 2019
1 parent c70e3fb commit 2030af4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/workflow/processing.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ func (a *HidePackageActivity) Execute(ctx context.Context, unitID, unitType, pip
if err != nil {
return fmt.Errorf("error hiding transfer: %v", err)
}
if resp.Removed != true {
if !resp.Removed {
return fmt.Errorf("error hiding transfer: not removed")
}
}
Expand All @@ -545,7 +545,7 @@ func (a *HidePackageActivity) Execute(ctx context.Context, unitID, unitType, pip
if err != nil {
return fmt.Errorf("error hiding sip: %v", err)
}
if resp.Removed != true {
if !resp.Removed {
return fmt.Errorf("error hiding sip: not removed")
}
}
Expand Down

0 comments on commit 2030af4

Please sign in to comment.