Skip to content

Commit

Permalink
woopsy
Browse files Browse the repository at this point in the history
  • Loading branch information
autodidaddict committed Jan 3, 2024
1 parent fb40530 commit 09e512e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nex-node/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func DefaultNodeConfiguration() NodeConfiguration {
VcpuCount: 1,
MemSizeMib: 256,
},
Tags: make(map[string]string),
RateLimiters: nil,
WorkloadTypes: defaultWorkloadTypes,
// CAUTION: This needs to be the IP of the node server's internal NATS --as visible to the inside of the firecracker VM--. This is not necessarily the address
Expand All @@ -99,6 +100,9 @@ func LoadNodeConfiguration(configFilePath string) (*NodeConfiguration, error) {
if err != nil {
return nil, err
}
if config.Tags == nil {
config.Tags = make(map[string]string)
}
return &config, nil
}

Expand Down

0 comments on commit 09e512e

Please sign in to comment.