소스 검색

Add missing GET annotation on log flag status API call

pull/33/head
Kristijan Mitrovic 4 년 전
부모
커밋
615b1cda66
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      bubble-server/src/main/java/bubble/resources/cloud/LogsResource.java

+ 3
- 2
bubble-server/src/main/java/bubble/resources/cloud/LogsResource.java 파일 보기

@@ -16,7 +16,8 @@ import javax.ws.rs.core.Response;

import static bubble.ApiConstants.*;
import static org.cobbzilla.util.http.HttpContentTypes.APPLICATION_JSON;
import static org.cobbzilla.wizard.resources.ResourceUtil.*;
import static org.cobbzilla.wizard.resources.ResourceUtil.forbiddenEx;
import static org.cobbzilla.wizard.resources.ResourceUtil.ok;

@Consumes(APPLICATION_JSON)
@Produces(APPLICATION_JSON)
@@ -30,7 +31,7 @@ public class LogsResource {
this.account = account;
}

@Path(EP_STATUS)
@GET @Path(EP_STATUS)
@NonNull public Response getLoggingStatus(@NonNull @Context final ContainerRequest ctx) {
return ok(selfNodeService.getLogFlag());
}


불러오는 중...
취소
저장