VOL-2401 - turn error into warning
Change-Id: Ic7661bf6a9bda5d8468efe2124f7bcdc142be04a
diff --git a/rw_core/core/device_manager.go b/rw_core/core/device_manager.go
index fab90ee..714c535 100755
--- a/rw_core/core/device_manager.go
+++ b/rw_core/core/device_manager.go
@@ -882,7 +882,13 @@
go func() {
err := dMgr.logicalDeviceMgr.updatePortState(context.Background(), deviceID, portNo, operStatus)
if err != nil {
- log.Errorw("unable-to-update-port-state", log.Fields{"error": err})
+ // While we want to handle (catch) and log when
+ // an update to a port was not able to be
+ // propagated to the logical port, we can report
+ // it as a warning and not an error because it
+ // doesn't stop or modify processing.
+ // TODO: VOL-2707
+ log.Warnw("unable-to-update-logical-port-state", log.Fields{"error": err})
}
}()
}