Skip to content

Commit

Permalink
feat: Enhance logging for network name override
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Oct 15, 2024
1 parent c68f8fd commit 18d6c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cannon/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ func (c *Config) ApplyOverrides(o *Override, log logrus.FieldLogger) error {
}

if o.NetworkName.Enabled {
log.Info("Overriding network name")
log.WithField("network", o.NetworkName.Value).Info("Overriding network name")

c.Name = o.NetworkName.Value
c.Ethereum.OverrideNetworkName = o.NetworkName.Value
}

return nil
Expand Down

0 comments on commit 18d6c6e

Please sign in to comment.