resource-manager: Make monitor API be exclusive for INSTANCE_TYPE_MONITOR 66/288666/10
authorYoungjae Cho <y0.cho@samsung.com>
Tue, 21 Feb 2023 08:06:22 +0000 (17:06 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 8 Mar 2023 01:15:21 +0000 (10:15 +0900)
commitb0334c47546043c8818a2fb6f8fe3d251fb6bac8
treeb703ab155e5468f8c9b455a88ea6e72d6716e170
parent45efc07414e3234c6bc4ef94ed4da68a44a471c7
resource-manager: Make monitor API be exclusive for INSTANCE_TYPE_MONITOR

The APIs for monitor instance has changed to return error when it is
used on instance type other than INSTANCE_TYPE_MONITOR.

Change-Id: Ifa1ce8924e60cb3a08ab467bf6f112421bd0abb7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/resource-manager/resource-manager.c