mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 23:32:02 +00:00
Merge pull request #1783 from openziti/housekeeper-exclude-flow-control
exclude instances named like 'flow-control.*'
This commit is contained in:
@@ -18,9 +18,9 @@ function describe_instances() {
|
||||
--arg region "$region" \
|
||||
--arg oldest "$oldest" '
|
||||
[
|
||||
.[]
|
||||
|.[]
|
||||
.[][]
|
||||
|select(.LaunchTime < $oldest)
|
||||
| select(.Tags[] | select(.Key=="Name").Value | test("flow-control\\.*") | not )
|
||||
|{InstanceId: .InstanceId, Region: $region, LaunchTime: .LaunchTime, State: .State, Tags: .Tags}
|
||||
]
|
||||
' \
|
||||
|
||||
Reference in New Issue
Block a user