增加get_snapshot,修改delete_snapshot判断