File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
agent-control/src/cli/on_host Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ agents:
407407
408408 const EXPECTED_NONE_STAGING : & str = r#"
409409fleet_control:
410- endpoint: https://staging-service.newrelic.com/v1/opamp
410+ endpoint: https://opamp. staging-service.newrelic.com/v1/opamp
411411 signature_validation:
412412 public_key_server_url: https://staging-publickeys.newrelic.com/r/blob-management/global/agentconfiguration/jwks.json
413413 fleet_id: test-fleet-id
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use nr_auth::{
77
88const OPAMP_ENDPOINT_US : & str = "https://opamp.service.newrelic.com/v1/opamp" ;
99const OPAMP_ENDPOINT_EU : & str = "https://opamp.service.eu.newrelic.com/v1/opamp" ;
10- const OPAMP_ENDPOINT_STAGING : & str = "https://staging-service.newrelic.com/v1/opamp" ;
10+ const OPAMP_ENDPOINT_STAGING : & str = "https://opamp. staging-service.newrelic.com/v1/opamp" ;
1111
1212const PUBLIC_KEY_ENDPOINT_US : & str =
1313 "https://publickeys.newrelic.com/r/blob-management/global/agentconfiguration/jwks.json" ;
@@ -110,7 +110,7 @@ mod tests {
110110 #[ rstest]
111111 #[ case( Region :: US , "https://opamp.service.newrelic.com/v1/opamp" ) ]
112112 #[ case( Region :: EU , "https://opamp.service.eu.newrelic.com/v1/opamp" ) ]
113- #[ case( Region :: STAGING , "https://staging-service.newrelic.com/v1/opamp" ) ]
113+ #[ case( Region :: STAGING , "https://opamp. staging-service.newrelic.com/v1/opamp" ) ]
114114 fn test_opamp_endpoint ( #[ case] region : Region , #[ case] expected_endpoint : & str ) {
115115 assert_eq ! (
116116 region. opamp_endpoint( ) . to_string( ) ,
You can’t perform that action at this time.
0 commit comments