Skip to content

Commit

Permalink
Fix existing comment
Browse files Browse the repository at this point in the history
Signed-off-by: Antonin Bas <[email protected]>
  • Loading branch information
antoninbas committed Oct 9, 2023
1 parent a771f83 commit 6ab005d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/cniserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ func (s *CNIServer) CmdAdd(ctx context.Context, request *cnipb.CniCmdRequest) (*

success := false
defer func() {
// Rollback to delete configurations once ADD is failure.
// Rollback to delete configurations if ADD fails.
if !success {
if isInfraContainer {
klog.InfoS("CmdAdd for container failed, trying to rollback", "container", cniConfig.ContainerId)
Expand Down

0 comments on commit 6ab005d

Please sign in to comment.