File tree Expand file tree Collapse file tree
finish/src/main/java/io/openliberty/sample/system Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 run : bash ./tools/pr-checker/checker.sh ${{ github.repository }} ${{ github.event.pull_request.number }} | tee checker.log
2424 - id : Lint-Code-Base
2525 if : always()
26- uses : github/super-linter@v3
26+ uses : github/super-linter@v3.17.0
2727 env :
2828 VALIDATE_ALL_CODEBASE : false
2929 VALIDATE_JAVASCRIPT_STANDARD : false
Original file line number Diff line number Diff line change 1- // Copyright (c) 2018, 2021 IBM Corporation and others.
1+ // Copyright (c) 2018, 2022 IBM Corporation and others.
22// Licensed under Creative Commons Attribution-NoDerivatives
33// 4.0 International (CC BY-ND 4.0)
44// https://creativecommons.org/licenses/by-nd/4.0/
@@ -307,10 +307,7 @@ This time you see the overall status of your server and the aggregated data of t
307307 "status":"UP"
308308 },
309309 {
310- "data":{
311- "memory used":40434888,
312- "memory max":4294967296
313- },
310+ "data":{},
314311 "name":"SystemResource Liveness Check",
315312 "status":"UP"
316313 }
Original file line number Diff line number Diff line change 11// tag::copyright[]
22/*******************************************************************************
3- * Copyright (c) 2019, 2021 IBM Corporation and others.
3+ * Copyright (c) 2019, 2022 IBM Corporation and others.
44 * All rights reserved. This program and the accompanying materials
55 * are made available under the terms of the Eclipse Public License v1.0
66 * which accompanies this distribution, and is available at
@@ -34,8 +34,6 @@ public HealthCheckResponse call() {
3434
3535 return HealthCheckResponse .named (
3636 SystemResource .class .getSimpleName () + " Liveness Check" )
37- .withData ("memory used" , memUsed )
38- .withData ("memory max" , memMax )
3937 .status (memUsed < memMax * 0.9 ).build ();
4038 }
4139
You can’t perform that action at this time.
0 commit comments