clever-tools 3.8.1 → 3.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/clever.js CHANGED
@@ -417,8 +417,7 @@ function run () {
417
417
  drainIndexPrefix: cliparse.option('index-prefix', {
418
418
  aliases: ['i'],
419
419
  metavar: 'index_prefix',
420
- description: '(ElasticSearch drains) Index prefix',
421
- default: 'logstash-<YYYY-MM-DD>',
420
+ description: '(ElasticSearch drains) optional index prefix. `logstash` value is used if not set',
422
421
  }),
423
422
  drainSDParameters: cliparse.option('sd-params', {
424
423
  aliases: ['s'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clever-tools",
3
- "version": "3.8.1",
3
+ "version": "3.8.2",
4
4
  "description": "Command Line Interface for Clever Cloud.",
5
5
  "main": "bin/clever.js",
6
6
  "keywords": [
@@ -43,7 +43,7 @@ async function list (params) {
43
43
 
44
44
  let drainView = `${id} -> ${state} for ${url} as ${drainType}`;
45
45
  if (indexPrefix != null) {
46
- drainView += `, index: '${indexPrefix}-<YYYY-MM-DD>'`;
46
+ drainView += `, custom index: '${indexPrefix}-YYYY-MM-DD'`;
47
47
  }
48
48
  if (structuredDataParameters != null) {
49
49
  drainView += `, sd-params: '${structuredDataParameters}'`;