Skip to content

Commit

Permalink
Use cfg.NodeID instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Achooo committed May 23, 2023
1 parent c74bb4e commit f5a45bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func NewBaseDeps(configLoader ConfigLoader, logOut io.Writer, providedLogger hcl

var extraSinks []metrics.MetricSink
if cfg.IsCloudEnabled() {
d.HCP, err = hcp.NewDeps(cfg.Cloud, d.Logger, d.RuntimeConfig.NodeID)
d.HCP, err = hcp.NewDeps(cfg.Cloud, d.Logger, cfg.NodeID)
if err != nil {
return d, err
}
Expand Down

0 comments on commit f5a45bd

Please sign in to comment.