aboutsummaryrefslogtreecommitdiff
path: root/spark-common
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2022-11-13 22:42:49 +0000
committerLuck <git@lucko.me>2022-11-13 22:42:49 +0000
commitb9f0e49ed17a7c32f36f31141c02529359944d03 (patch)
tree72e9c6ad872f23b0b1edd431dd1a22cde09b519c /spark-common
parentc621e6955be60ea9c1a7e87c8b596f0293e8f0b8 (diff)
downloadspark-b9f0e49ed17a7c32f36f31141c02529359944d03.tar.gz
spark-b9f0e49ed17a7c32f36f31141c02529359944d03.tar.bz2
spark-b9f0e49ed17a7c32f36f31141c02529359944d03.zip
Add upload subcommand as per documentation
oops
Diffstat (limited to 'spark-common')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
index 6a76748..00cd4fa 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
@@ -122,7 +122,7 @@ public class SamplerModule implements CommandModule {
return;
}
- if (subCommand.equals("stop") || arguments.boolFlag("stop") || arguments.boolFlag("upload")) {
+ if (subCommand.equals("stop") || subCommand.equals("upload") || arguments.boolFlag("stop") || arguments.boolFlag("upload")) {
profilerStop(platform, sender, resp, arguments);
return;
}