
* add SC2001 to shellcheck skip-list * few functions from CloudFoundryDiego application was changed - manual deployment test requeired Change-Id: Ib7b223553bdfc14f7051911d7ed0e4076c6aebb0
5 lines
125 B
Bash
5 lines
125 B
Bash
#!/bin/bash
|
|
|
|
NODE_ID=$(/opt/bin/etcdctl member list | grep "$1" | cut -d':' -f1)
|
|
/opt/bin/etcdctl member remove "${NODE_ID}"
|