aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_volume_mount.go')
-rw-r--r--weed/shell/command_volume_mount.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_volume_mount.go b/weed/shell/command_volume_mount.go
index 37dd7765f..50a307492 100644
--- a/weed/shell/command_volume_mount.go
+++ b/weed/shell/command_volume_mount.go
@@ -12,7 +12,7 @@ import (
)
func init() {
- commands = append(commands, &commandVolumeMount{})
+ Commands = append(Commands, &commandVolumeMount{})
}
type commandVolumeMount struct {
@@ -32,7 +32,7 @@ func (c *commandVolumeMount) Help() string {
`
}
-func (c *commandVolumeMount) Do(args []string, commandEnv *commandEnv, writer io.Writer) (err error) {
+func (c *commandVolumeMount) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
if len(args) != 2 {
fmt.Fprintf(writer, "received args: %+v\n", args)