hashicorp / hashicorp/nomad

Include NodeEvents in NodeListStub

Open
#4,976 1 comment 0 reactions 0 assignees View on GitHub
theme/api type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

In Nomad 0.8.6 (and on master), the `NodeListStub`s returned by the api's `Node.List` function do not contain `NodeEvent` instances. It would be useful to have that information in the result, in order to avoid another call to retrieve the node's details.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the API's Node.List function and the NodeListStub type, then compare its returned data with the node details response. Done means NodeListStub results include NodeEvent instances so callers do not need another request to retrieve node details.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.