Skip to content

Commit 2030af4

Browse files
committed
processing: hide units after completion (fix)
1 parent c70e3fb commit 2030af4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/workflow/processing.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ func (a *HidePackageActivity) Execute(ctx context.Context, unitID, unitType, pip
535535
if err != nil {
536536
return fmt.Errorf("error hiding transfer: %v", err)
537537
}
538-
if resp.Removed != true {
538+
if !resp.Removed {
539539
return fmt.Errorf("error hiding transfer: not removed")
540540
}
541541
}
@@ -545,7 +545,7 @@ func (a *HidePackageActivity) Execute(ctx context.Context, unitID, unitType, pip
545545
if err != nil {
546546
return fmt.Errorf("error hiding sip: %v", err)
547547
}
548-
if resp.Removed != true {
548+
if !resp.Removed {
549549
return fmt.Errorf("error hiding sip: not removed")
550550
}
551551
}

0 commit comments

Comments
 (0)