hashicorp / hashicorp/nomad

Remove <=0.8 Node and Allocation Resources fields

Open
#6,608 4 comments 1 reaction 0 assignees View on GitHub
hcc/jira theme/cleanup theme/core theme/tech-debt
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

Targeting removal in 0.11.

https://github.com/hashicorp/nomad/blob/20bb9f04d5e48b2f741cd1d1f409f25723911b77/nomad/structs/structs.go#L1541-L1544

https://github.com/hashicorp/nomad/blob/20bb9f04d5e48b2f741cd1d1f409f25723911b77/nomad/structs/structs.go#L7479-L7495

They were originally slated for removal in 0.10, but we decided to give an extra release as a safety buffer.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open nomad/structs/structs.go at the linked ranges around lines 1541-1544 and 7479-7495, and read the surrounding definitions. Confirm which Node and Allocation Resources fields are at or below version 0.8, then remove those fields for the 0.11 target. Done means the obsolete fields are gone without leaving the linked definitions inconsistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
infrastructure
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.