Skip to content

Commit

Permalink
Bring back deletion of the second locking tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rallyos committed Jun 27, 2023
1 parent 335f3f4 commit 832ed89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/booking_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func updateResource(r *BookingReconciler, ctx context.Context, resources *manage
rs.Spec.BookedBy = booking.Spec.UserID
rs.Spec.BookedUntil = booking.Spec.EndAt
} else if booking.Status.Status == managerv1.BookingFinished {
rs.Spec.BookedBy = ""
rs.Spec.BookedUntil = ""
}

Expand Down

0 comments on commit 832ed89

Please sign in to comment.