aboutsummaryrefslogtreecommitdiff
path: root/weed/operation
diff options
context:
space:
mode:
Diffstat (limited to 'weed/operation')
-rw-r--r--weed/operation/delete_content.go3
-rw-r--r--weed/operation/submit.go2
2 files changed, 2 insertions, 3 deletions
diff --git a/weed/operation/delete_content.go b/weed/operation/delete_content.go
index 9868a411d..65baaddf2 100644
--- a/weed/operation/delete_content.go
+++ b/weed/operation/delete_content.go
@@ -4,12 +4,11 @@ import (
"context"
"errors"
"fmt"
+ "google.golang.org/grpc"
"net/http"
"strings"
"sync"
- "google.golang.org/grpc"
-
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
)
diff --git a/weed/operation/submit.go b/weed/operation/submit.go
index 907825311..c34b33577 100644
--- a/weed/operation/submit.go
+++ b/weed/operation/submit.go
@@ -33,7 +33,7 @@ type FilePart struct {
type SubmitResult struct {
FileName string `json:"fileName,omitempty"`
- FileUrl string `json:"fileUrl,omitempty"`
+ FileUrl string `json:"url,omitempty"`
Fid string `json:"fid,omitempty"`
Size uint32 `json:"size,omitempty"`
Error string `json:"error,omitempty"`