848849850851852853854
@Requires(whitelist = Capability.MACHINE_MAINTAINER) @Override public Response drainHosts(Hosts hosts, SessionKey session) { return okResponse(Result.drainHostsResult( new DrainHostsResult().setStatuses(maintenance.drain(hosts.getHostNames())))); }
920921922923924925926