@@ -103,10 +103,8 @@ function tryToAnnounce(ctx, retryDelay = initialRetryDelay) {
103
103
104
104
if ( pidStore . pid !== agentResponse . pid ) {
105
105
logger . info (
106
- 'Reporting data to the Instana host agent with the PID from the root namespace (%s) instead of the ' +
107
- 'in-container PID (%s).' ,
108
- agentResponse . pid ,
109
- pidStore . pid
106
+ `Reporting data to the Instana host agent with the PID from the root namespace (${ agentResponse . pid } ) ` +
107
+ `instead of the in-container PID (${ pidStore . pid } ).`
110
108
) ;
111
109
pidStore . pid = agentResponse . pid ;
112
110
}
@@ -135,18 +133,18 @@ function applySecretsConfiguration(agentResponse) {
135
133
if ( agentResponse . secrets ) {
136
134
if ( ! ( typeof agentResponse . secrets . matcher === 'string' ) ) {
137
135
logger . warn (
138
- 'Received an invalid secrets configuration from the Instana host agent, attribute matcher is not a string: $s' ,
139
- agentResponse . secrets . matcher
136
+ 'Received an invalid secrets configuration from the Instana host agent, attribute matcher is not a string: ' +
137
+ ` ${ agentResponse . secrets . matcher } `
140
138
) ;
141
139
} else if ( Object . keys ( secrets . matchers ) . indexOf ( agentResponse . secrets . matcher ) < 0 ) {
142
140
logger . warn (
143
- 'Received an invalid secrets configuration from the Intana agent, matcher is not supported: $s' ,
144
- agentResponse . secrets . matcher
141
+ 'Received an invalid secrets configuration from the Intana agent, matcher is not supported: ' +
142
+ ` ${ agentResponse . secrets . matcher } `
145
143
) ;
146
144
} else if ( ! Array . isArray ( agentResponse . secrets . list ) ) {
147
145
logger . warn (
148
- 'Received an invalid secrets configuration from the Instana host agent, attribute list is not an array: $s' ,
149
- agentResponse . secrets . list
146
+ 'Received an invalid secrets configuration from the Instana host agent, attribute list is not an array: ' +
147
+ ` ${ agentResponse . secrets . list } `
150
148
) ;
151
149
} else {
152
150
secrets . setMatcher ( agentResponse . secrets . matcher , agentResponse . secrets . list ) ;
0 commit comments