|
|
@ -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) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|