Merge pull request #45503 from quaff
* pr/45503: Polish PrometheusProperties Closes gh-45503
This commit is contained in:
@@ -101,7 +101,7 @@ public class PrometheusProperties {
|
||||
/**
|
||||
* Enable publishing over a Prometheus Pushgateway.
|
||||
*/
|
||||
private Boolean enabled = false;
|
||||
private boolean enabled;
|
||||
|
||||
/**
|
||||
* Address (host:port) for the Pushgateway.
|
||||
@@ -153,11 +153,11 @@ public class PrometheusProperties {
|
||||
*/
|
||||
private ShutdownOperation shutdownOperation = ShutdownOperation.NONE;
|
||||
|
||||
public Boolean getEnabled() {
|
||||
public boolean isEnabled() {
|
||||
return this.enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(Boolean enabled) {
|
||||
public void setEnabled(boolean enabled) {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user