def delete(app): """Deletes app monitor""" masterapi.delete_appmonitor(context.GLOBAL.zk.conn, app)
def delete(rsrc_id): """Delete configured application monitor.""" zkclient = context.GLOBAL.zk.conn masterapi.delete_appmonitor(zkclient, rsrc_id) return None