Browse Source

禁用shell相关删除命令

Signed-off-by: changlin.shi <changlin.shi@ly.com>
pull/5936/head
changlin.shi 10 months ago
parent
commit
18d941ba25
  1. 2
      weed/shell/command_collection_delete.go
  2. 2
      weed/shell/command_fs_mv.go
  3. 2
      weed/shell/command_fs_rm.go
  4. 2
      weed/shell/command_s3_bucket_delete.go
  5. 2
      weed/shell/command_volume_delete.go

2
weed/shell/command_collection_delete.go

@ -10,7 +10,7 @@ import (
)
func init() {
Commands = append(Commands, &commandCollectionDelete{})
//Commands = append(Commands, &commandCollectionDelete{})
}
type commandCollectionDelete struct {

2
weed/shell/command_fs_mv.go

@ -10,7 +10,7 @@ import (
)
func init() {
Commands = append(Commands, &commandFsMv{})
//Commands = append(Commands, &commandFsMv{})
}
type commandFsMv struct {

2
weed/shell/command_fs_rm.go

@ -11,7 +11,7 @@ import (
)
func init() {
Commands = append(Commands, &commandFsRm{})
//Commands = append(Commands, &commandFsRm{})
}
type commandFsRm struct {

2
weed/shell/command_s3_bucket_delete.go

@ -11,7 +11,7 @@ import (
)
func init() {
Commands = append(Commands, &commandS3BucketDelete{})
//Commands = append(Commands, &commandS3BucketDelete{})
}
type commandS3BucketDelete struct {

2
weed/shell/command_volume_delete.go

@ -9,7 +9,7 @@ import (
)
func init() {
Commands = append(Commands, &commandVolumeDelete{})
//Commands = append(Commands, &commandVolumeDelete{})
}
type commandVolumeDelete struct {

Loading…
Cancel
Save