Skip to content

Commit

Permalink
Fix an issue with the rolling restart of 'all' services.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottexton committed Oct 13, 2021
1 parent 5483891 commit 4fc15a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/controllers/snapshotmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,15 +498,16 @@ func (mgr *SnapshotMgr) serve(w http.ResponseWriter, r *http.Request) {
* then log the request.
*/

modified := r.URL.Query().Get("modified")
modified := r.URL.Query().Get("modified")
modifiedStr := modified

if len(modified) == 0 {
modified = "all"
modifiedStr = "all"
}

mgr.log.Info("Processing a POST",
"Path", r.URL.Path,
"Modified", modified,
"Modified", modifiedStr,
"Client", client)

/*
Expand Down

0 comments on commit 4fc15a5

Please sign in to comment.