Skip to content

Commit 8e38ef1

Browse files
committed
fix status services
1 parent 65e766b commit 8e38ef1

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

rust/operator-binary/src/controller.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,7 @@ impl OpaClusterConfigFile {
381381
decision_logs: decision_logging,
382382
// Enable more Prometheus metrics, such as bundle loads
383383
// See https://www.openpolicyagent.org/docs/monitoring#status-metrics
384-
status: Some(OpaClusterConfigStatus {
385-
service: OPA_STACKABLE_SERVICE_NAME.to_owned(),
386-
prometheus: true,
387-
}),
384+
status: Some(OpaClusterConfigStatus { prometheus: true }),
388385
}
389386
}
390387
}
@@ -421,7 +418,6 @@ pub struct OpaClusterConfigDecisionLog {
421418

422419
#[derive(Serialize, Deserialize)]
423420
struct OpaClusterConfigStatus {
424-
service: String,
425421
prometheus: bool,
426422
}
427423

0 commit comments

Comments
 (0)