Skip to content

Commit

Permalink
[FIXED JENKINS-13857] Changes in 1.463 requires select LogRotator JSO…
Browse files Browse the repository at this point in the history
…N from the request
  • Loading branch information
vjuranek committed Sep 5, 2012
1 parent 8ccc409 commit b6578a2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -145,7 +145,7 @@ public Publisher newInstance(StaplerRequest req, JSONObject formData) throws For
req.bindParameters(bp, "bp.");

if (req.getParameter("publicLogrotate") != null) {
bp.logRotator = LogRotator.DESCRIPTOR.newInstance(req,formData);
bp.logRotator = LogRotator.DESCRIPTOR.newInstance(req,formData.getJSONObject("publicLogrotate"));
} else {
bp.logRotator = null;
}
Expand Down

0 comments on commit b6578a2

Please sign in to comment.