Skip to content

Commit

Permalink
Fix logging data race
Browse files Browse the repository at this point in the history
  • Loading branch information
yinyic committed Aug 28, 2022
1 parent 03d0b8a commit 4cdd048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/ecscni/plugin_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (client *cniClient) setupNS(ctx context.Context, cfg *Config) (*current.Res
cfg.ContainerID)
}

seelog.Debugf("[ECSCNI] Completed setting up the container namespace: %v", bridgeResult)
seelog.Debugf("[ECSCNI] Completed setting up the container namespace: %s", cfg.ContainerID)

if _, err := bridgeResult.GetAsVersion(currentCNISpec); err != nil {
seelog.Warnf("[ECSCNI] Unable to convert result to spec version %s; error: %v; result is of version: %s",
Expand Down

0 comments on commit 4cdd048

Please sign in to comment.