From 53cedef4dbce3c43becb61b6b88b9f80f0926301 Mon Sep 17 00:00:00 2001 From: Vasant Patil <36455926+vasant17@users.noreply.github.com> Date: Fri, 22 Nov 2019 10:36:17 -0800 Subject: [PATCH] We should increment the increment when we continue (#12) --- orchagent/portsorch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/orchagent/portsorch.cpp b/orchagent/portsorch.cpp index af4453f501..9b1a5b11eb 100644 --- a/orchagent/portsorch.cpp +++ b/orchagent/portsorch.cpp @@ -2145,6 +2145,7 @@ void PortsOrch::doPortTask(Consumer &consumer) { // Port has one or more dependencies, cannot remove SWSS_LOG_WARN("Cannot to remove port because of dependency"); + it++; continue; }