Skip to content

Commit 3034d16

Browse files
author
zhizhi.liu
committed
feature: change jvm sandbox default namespace
1 parent 030d79e commit 3034d16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exec/jvm/executor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232
"github.com/chaosblade-io/chaosblade/data"
3333
)
3434

35-
const DefaultUri = "sandbox/default/module/http/chaosblade"
35+
const DefaultUri = "sandbox/" + DefaultNamespace + "/module/http/chaosblade"
3636

3737
// Executor for jvm experiment
3838
type Executor struct {

exec/jvm/sandbox.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636
// attach sandbox to java process
3737
var cl = channel.NewLocalChannel()
3838

39-
const DefaultNamespace = "default"
39+
const DefaultNamespace = "chaosblade"
4040

4141
func Attach(uid, port, javaHome, pid string) (*spec.Response, string) {
4242
// refresh

0 commit comments

Comments
 (0)