From 6d239643328ae3766e4002f839f7b115c5b84073 Mon Sep 17 00:00:00 2001 From: Raymond Date: Wed, 28 Aug 2024 01:47:08 +0900 Subject: [PATCH] test: k3s deploy action --- .github/workflows/k3s-prod.yaml | 4 ++-- .../src/main/java/org/layer/resolver/MemberIdResolver.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/k3s-prod.yaml b/.github/workflows/k3s-prod.yaml index 6444820c..cf8d81c8 100644 --- a/.github/workflows/k3s-prod.yaml +++ b/.github/workflows/k3s-prod.yaml @@ -65,7 +65,7 @@ jobs: name: build needs: [ setup ] runs-on: ubuntu-latest - # if: ${{ needs.setup.outputs.changed_modules != '' }} + if: ${{ needs.setup.outputs.changed_modules != '' }} permissions: contents: read packages: write @@ -143,7 +143,7 @@ jobs: name: Deploy to K3s needs: [ build, setup ] runs-on: ubuntu-latest - # if: ${{ needs.setup.outputs.changed_modules != '' }} + if: ${{ needs.setup.outputs.changed_modules != '' }} env: DEPLOY_TARGET: ${{ needs.setup.outputs.deploy_target }} SHA_SHORT: ${{ needs.setup.outputs.sha_short }} diff --git a/layer-api/src/main/java/org/layer/resolver/MemberIdResolver.java b/layer-api/src/main/java/org/layer/resolver/MemberIdResolver.java index 47775847..50e322e5 100644 --- a/layer-api/src/main/java/org/layer/resolver/MemberIdResolver.java +++ b/layer-api/src/main/java/org/layer/resolver/MemberIdResolver.java @@ -25,7 +25,7 @@ public boolean supportsParameter(MethodParameter parameter) { // 1. 어노테이션 체크 var annotation = parameter.hasParameterAnnotation(MemberId.class); - // 2. 파라미터의 타입 체크 + // 2. 파라미터의 타입체크 var parameterType = parameter.getParameterType().equals(Long.class); return (annotation && parameterType);