1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-06 00:03:38 +00:00

goimports

This commit is contained in:
Arno Hautala
2017-10-02 02:08:34 -04:00
parent 04debec0a1
commit f044d37b28

View File

@@ -343,11 +343,11 @@ func (client *B2Client) ListFileNames(startFileName string, singleFile bool, inc
return nil, fmt.Errorf("b2_download_file_by_name did not return headers")
}
requiredHeaders := []string{
"x-bz-file-id",
"x-bz-file-id",
"x-bz-file-name",
}
missingKeys := []string{}
for _,headerKey := range requiredHeaders {
for _, headerKey := range requiredHeaders {
if "" == responseHeader.Get(headerKey) {
missingKeys = append(missingKeys, headerKey)
}