Skip to content

Commit dde31ff

Browse files
Update classpath to make it compatible with old runner image (#789)
1 parent 961f84e commit dde31ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/spec/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ func getProcessJavaRuntimeArgs(name, packageName, clusterName, logLevel, details
11881188
state *v1alpha1.Stateful,
11891189
tlsConfig TLSConfig, authConfig *v1alpha1.AuthConfig,
11901190
maxPendingAsyncRequests *int32, logConfigFileName string) []string {
1191-
classPath := "/pulsar/instances/java-instance.jar:/pulsar/instances/deps/*"
1191+
classPath := "/pulsar/instances/java-instance.jar:$(echo /pulsar/lib/com.fasterxml.jackson.dataformat-jackson-dataformat-yaml-*.jar):$(echo /pulsar/lib/org.yaml-snakeyaml-*.jar)"
11921192
javaLogConfigPath := logConfigFileName
11931193
if javaLogConfigPath == "" {
11941194
javaLogConfigPath = DefaultJavaLogConfigPath

0 commit comments

Comments
 (0)