Skip to content

Commit

Permalink
fix(fakeDAServer): handlePut was still handling put when in failover …
Browse files Browse the repository at this point in the history
…mode
  • Loading branch information
samlaf committed Feb 24, 2025
1 parent 4ea7277 commit 85dd26a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions op-alt-da/damock.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ func (s *FakeDAServer) HandlePut(w http.ResponseWriter, r *http.Request) {
if s.failoverCount > 0 {
w.WriteHeader(http.StatusServiceUnavailable)
s.failoverCount--
return
}
s.DAServer.HandlePut(w, r)
}
Expand Down

0 comments on commit 85dd26a

Please sign in to comment.