fixing upload endpoint bug

This commit is contained in:
jackspirou 2016-01-15 11:10:26 -06:00
parent 5177d35de4
commit f7b84f7407

View File

@ -86,7 +86,7 @@ func main() {
os.Exit(1) os.Exit(1)
} }
uploadURL, err := url.Parse(vargs.BaseURL) uploadURL, err := url.Parse(vargs.UploadURL)
if err != nil { if err != nil {
fmt.Printf("Failed to parse upload URL\n") fmt.Printf("Failed to parse upload URL\n")
os.Exit(1) os.Exit(1)
@ -198,10 +198,6 @@ func writeChecksums(files, methods []string) ([]string, error) {
return nil, err return nil, err
} }
fmt.Println(file)
fmt.Println(method)
fmt.Println(hash)
checksums[method] = append(checksums[method], hash, file) checksums[method] = append(checksums[method], hash, file)
} }
} }