VOL-1496: Allow reason field in proto from adapter
Practically the reason field is used by the openonu
adapter to provide convienent status on the mib sync and
download process.
Change-Id: I16772be4950f147bdc58ba6fb1dc552bd1ef2336
diff --git a/rw_core/core/adapter_request_handler.go b/rw_core/core/adapter_request_handler.go
index eeebd0d..ed9f761 100644
--- a/rw_core/core/adapter_request_handler.go
+++ b/rw_core/core/adapter_request_handler.go
@@ -227,6 +227,7 @@
cloned.SerialNumber = device.SerialNumber
cloned.MacAddress = device.MacAddress
cloned.Vlan = device.Vlan
+ cloned.Reason = device.Reason
return cloned, nil
}