Skip to content

Commit 599fc05

Browse files
ARSN-499: Reword kmip cluster err message
1 parent 6e7dd3c commit 599fc05

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/network/kmip/ClusterClient.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export default class ClusterClient implements KMSInterface {
188188
if (this.clients.length === 0) {
189189
logger.warn('kmip cluster has no healthy hosts');
190190
return originalCallback(errorInstances.InternalError.customizeDescription(
191-
kmipMsg('Create', args[0], `no healthy host in the cluster`)));
191+
kmipMsg('Create', args[0], 'kmip cluster has no healthy hosts')));
192192
}
193193

194194
const client = this.next();
@@ -208,7 +208,7 @@ export default class ClusterClient implements KMSInterface {
208208
if (this.clients.length === 0) {
209209
logger.warn('kmip cluster has no healthy hosts');
210210
return originalCallback(errorInstances.InternalError.customizeDescription(
211-
kmipMsg('Destroy', args[0], `no healthy host in the cluster`)));
211+
kmipMsg('Destroy', args[0], 'kmip cluster has no healthy hosts')));
212212
}
213213

214214
const client = this.next();
@@ -228,7 +228,7 @@ export default class ClusterClient implements KMSInterface {
228228
if (this.clients.length === 0) {
229229
logger.warn('kmip cluster has no healthy hosts');
230230
return originalCallback(errorInstances.InternalError.customizeDescription(
231-
kmipMsg('Encrypt', args[1], `no healthy host in the cluster`)));
231+
kmipMsg('Encrypt', args[1], 'kmip cluster has no healthy hosts')));
232232
}
233233

234234
const client = this.next();
@@ -248,7 +248,7 @@ export default class ClusterClient implements KMSInterface {
248248
if (this.clients.length === 0) {
249249
logger.warn('kmip cluster has no healthy hosts');
250250
return originalCallback(errorInstances.InternalError.customizeDescription(
251-
kmipMsg('Decrypt', args[1], `no healthy host in the cluster`)));
251+
kmipMsg('Decrypt', args[1], 'kmip cluster has no healthy hosts')));
252252
}
253253

254254
const client = this.next();
@@ -278,7 +278,7 @@ export default class ClusterClient implements KMSInterface {
278278
if (this.clients.length === 0) {
279279
logger.warn('kmip cluster has no healthy hosts');
280280
return originalCallback(errorInstances.InternalError.customizeDescription(
281-
kmipMsg('Healthcheck', '', `no healthy host in the cluster`)));
281+
kmipMsg('Healthcheck', '', 'kmip cluster has no healthy hosts')));
282282
}
283283

284284
const client = this.next();

0 commit comments

Comments
 (0)