Skip to content

Commit

Permalink
bug: merge ReservableCores in clientConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
aholyoake-bc committed Feb 10, 2022
1 parent 05b9900 commit ae1042c
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 ae1042c

Please sign in to comment.