Skip to content

Commit 3080b33

Browse files
committed
Ikke logg error dobbelt opp
bruk cache v2 i github workflow
1 parent 1a5e67e commit 3080b33

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/dp-inntekt-api-deploy.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ jobs:
1717
with:
1818
java-version: '13.x'
1919

20-
- name: Cache gradle dependencies
21-
uses: actions/cache@v1
20+
- name: Setup gradle dependency cache
21+
uses: actions/cache@v2
2222
with:
23-
path: ~/.gradle/caches
24-
key: ${{ runner.os }}-gradle-${{ hashFiles('build.gradle.kts', 'buildSrc/src/main/kotlin/Constants.kt') }}
23+
path: |
24+
~/.gradle/caches
25+
~/.gradle/wrapper
26+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', 'buildSrc/src/main/kotlin/Constants.kt') }}
2527
restore-keys: |
2628
${{ runner.os }}-gradle-
2729
- name: Build with Gradle

dp-inntekt-api/src/main/kotlin/no/nav/dagpenger/inntekt/inntektskomponenten/v1/InntektskomponentHttpClient.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ class InntektskomponentHttpClient(
103103
detail
104104
).also {
105105
sikkerLogg.error { it }
106-
logg.error("Failed to fetch inntekt. Status code ${response.statusCode}")
107106
}
108107
}
109108
)

0 commit comments

Comments
 (0)