mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
fix for grafana config
This commit is contained in:
parent
b3d31cf79a
commit
eca3926e91
@ -298,8 +298,8 @@ public class DockerMetricsHelper {
|
||||
builder = builder.POST(HttpRequest.BodyPublishers.ofString(dashboard));
|
||||
builder.setHeader("Content-Type", "application/json");
|
||||
} else {
|
||||
logger.debug(("GETing " + url));
|
||||
builder = builder.GET();
|
||||
logger.debug(("POSTing empty body to " + url));
|
||||
builder = builder.POST(HttpRequest.BodyPublishers.noBody());
|
||||
}
|
||||
|
||||
HttpRequest request = builder.build();
|
||||
|
Loading…
Reference in New Issue
Block a user