Skip to content

Commit e2e75ff

Browse files
authored
modify 'chmod' to 'move' to fit the feature
modify 'chmod' to 'move' to fit the feature
2 parents 8644cf9 + dcee3c4 commit e2e75ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exec/file/file_move.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ package file
1919
import (
2020
"context"
2121
"fmt"
22-
"github.com/chaosblade-io/chaosblade-exec-os/exec"
23-
"github.com/chaosblade-io/chaosblade-spec-go/log"
24-
"github.com/chaosblade-io/chaosblade-spec-go/spec"
2522
"path"
2623

24+
"github.com/chaosblade-io/chaosblade-exec-os/exec"
2725
"github.com/chaosblade-io/chaosblade-exec-os/exec/category"
26+
"github.com/chaosblade-io/chaosblade-spec-go/log"
27+
"github.com/chaosblade-io/chaosblade-spec-go/spec"
2828
)
2929

3030
const (
@@ -95,7 +95,7 @@ type FileMoveActionExecutor struct {
9595
}
9696

9797
func (*FileMoveActionExecutor) Name() string {
98-
return "chmod"
98+
return "move"
9999
}
100100

101101
func (f *FileMoveActionExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response {

0 commit comments

Comments
 (0)