diff options
| author | Chris Lu <chris.lu@gmail.com> | 2013-08-08 23:57:22 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2013-08-08 23:57:22 -0700 |
| commit | ed154053c833f9bcce9094e535e2adc0a0397e46 (patch) | |
| tree | 40dc16b76a12929bc8ac7af0549ccf65316e9011 /go/operation/delete_content.go | |
| parent | b27947b3550dfdf091010bd2607b8c36a5dca049 (diff) | |
| download | seaweedfs-ed154053c833f9bcce9094e535e2adc0a0397e46.tar.xz seaweedfs-ed154053c833f9bcce9094e535e2adc0a0397e46.zip | |
switching to temporarily use glog library
Diffstat (limited to 'go/operation/delete_content.go')
| -rw-r--r-- | go/operation/delete_content.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/operation/delete_content.go b/go/operation/delete_content.go index 2bdb49651..12f3ca4e8 100644 --- a/go/operation/delete_content.go +++ b/go/operation/delete_content.go @@ -1,14 +1,14 @@ package operation import ( - "log" + "code.google.com/p/weed-fs/go/glog" "net/http" ) func Delete(url string) error { req, err := http.NewRequest("DELETE", url, nil) if err != nil { - log.Println("failing to delete", url) + glog.V(0).Infoln("failing to delete", url) return err } _, err = http.DefaultClient.Do(req) |
