Skip to content

Commit

Permalink
fix: env var changed for cas metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
3benbox committed Dec 11, 2023
1 parent 69dfb45 commit 8af15db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion operator/src/network/cas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ pub fn cas_stateful_set_spec(
..Default::default()
},
EnvVar {
name: "METRICS_PROMETHEUS_PORT".to_owned(),
name: "METRICS_PORT".to_owned(),
value: Some("9464".to_owned()),
..Default::default()
},
Expand Down
2 changes: 1 addition & 1 deletion operator/src/network/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3079,7 +3079,7 @@ mod tests {
"spec": {
@@ -132,6 +138,22 @@
{
"name": "METRICS_PROMETHEUS_PORT",
"name": "METRICS_PORT",
"value": "9464"
+ },
+ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Request {
"value": "8081"
},
{
"name": "METRICS_PROMETHEUS_PORT",
"name": "METRICS_PORT",
"value": "9464"
}
],
Expand Down

0 comments on commit 8af15db

Please sign in to comment.