service: some minor fix.

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