Seagate / halon

High availability solution
Apache License 2.0
1 stars 0 forks source link

Strip leading space from process type in `hctl mero status` output #1590

Closed vvv closed 4 years ago

vvv commented 4 years ago

requestClusterStatus rule prepended a leading space character to process type name (e.g., " halon", " m0d") in hctl mero status output. This was ugly and broke @max-seagate.medved's sage-user-application-assignment script.

Kudos to @dmitriy.chumak for finding the bug!

andriytk commented 4 years ago

merged

andriytk commented 4 years ago

enabled an automatic merge when the pipeline for 0e3c0240584f51a115acf9569a9b53e871adb707 succeeds

vvv commented 4 years ago

Look ma, no spaces! :bike:

$ hctl mero status --json | jq . | grep cprType | sort -u
              "cprType": "clovis-app"
              "cprType": "confd"
              "cprType": "halon"
              "cprType": "ioservice"
              "cprType": "m0t1fs"