service: some minor fix.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
service_unittest: fix ignore_status unittest.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>