We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc2c159 commit b247591Copy full SHA for b247591
rasp/jvm/JVMProbe/src/main/java/com/security/smith/SmithProbe.java
@@ -553,6 +553,10 @@ public void onLimit(LimitConfig config) {
553
554
@Override
555
public void onPatch(PatchConfig config) {
556
+ if (config == null || config.getPatches() == null || config.getPatches().length == 0) {
557
+ SmithLogger.logger.info("patch may not be download, so not update heartbeat");
558
+ return ;
559
+ }
560
for (Patch patch : config.getPatches()) {
561
SmithLogger.logger.info("install patch: " + patch.getClassName());
562
0 commit comments