Skip to content

Commit

Permalink
config: merge ReservableCores in clientConfig (#12044)
Browse files Browse the repository at this point in the history
  • Loading branch information
aholyoake-bc committed Feb 15, 2022
1 parent 34de8b5 commit 11dcb87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions command/agent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1662,6 +1662,9 @@ func (a *ClientConfig) Merge(b *ClientConfig) *ClientConfig {
} else if b.Reserved != nil {
result.Reserved = result.Reserved.Merge(b.Reserved)
}
if b.ReserveableCores != "" {
result.ReserveableCores = b.ReserveableCores
}
if b.GCInterval != 0 {
result.GCInterval = b.GCInterval
}
Expand Down

0 comments on commit 11dcb87

Please sign in to comment.