Skip to content

Commit

Permalink
chore: update logs
Browse files Browse the repository at this point in the history
  • Loading branch information
fioncat committed Aug 1, 2024
1 parent ed31381 commit e870cc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cnivpc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ func cmdAdd(args *skel.CmdArgs) error {

err = addPodNetworkRecord(podName, podNS, sandBoxId, pNet)
if err != nil {
ulog.Warnf("Record pod network info for %s/%s, sandbox: %s, error: %v", podName, podNS, sandBoxId, err)
return fmt.Errorf("failed to record pod network: %v", err)
ulog.Errorf("Record pod network info for %s/%s, sandbox: %s, error: %v", podName, podNS, sandBoxId, err)
return fmt.Errorf("failed to add pod network record: %v", err)
}
// Fill result routes
ulog.Infof("[Result]: %+v", result)
Expand Down

0 comments on commit e870cc8

Please sign in to comment.