Return error when polices are not present 55/120255/1
authorkrishnaa96 <krishna.moorthy6@wipro.com>
Wed, 7 Apr 2021 06:59:26 +0000 (12:29 +0530)
committerkrishnaa96 <krishna.moorthy6@wipro.com>
Wed, 7 Apr 2021 09:02:23 +0000 (14:32 +0530)
commitaafb48a95fe5ace431ebe607cab660fddde8c2cc
treeef482e6015b88e7b1edc9843bd0015ca7f38014b
parent2b44069a703b916e2fa94d47448304e0101690d4
Return error when polices are not present

OOF must return error when the policies are
not found for a particular request. Currently,
It sends an empty request to conductor when
policies are not available

Issue-ID: OPTFRA-511
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I8b4041cf1c6d6c62ee4df39138ee5d3bf904e064
osdf/adapters/policy/interface.py