nomad-vector-logger icon indicating copy to clipboard operation
nomad-vector-logger copied to clipboard

refactor: use List Node Allocations endpoint

Open biraj21 opened this issue 1 year ago • 0 comments

Use List Node Allocations to directly get allocations by node ID rather than getting AllocationListStub and then querying for individual Allocation. Also eliminates the if block to check whether the current allocation is running on this node or not.

Docs: https://developer.hashicorp.com/nomad/api-docs/nodes#list-node-allocations

biraj21 avatar Sep 15 '24 17:09 biraj21