mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-02 19:54:54 -06:00
goimports
This commit is contained in:
@@ -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")
|
return nil, fmt.Errorf("b2_download_file_by_name did not return headers")
|
||||||
}
|
}
|
||||||
requiredHeaders := []string{
|
requiredHeaders := []string{
|
||||||
"x-bz-file-id",
|
"x-bz-file-id",
|
||||||
"x-bz-file-name",
|
"x-bz-file-name",
|
||||||
}
|
}
|
||||||
missingKeys := []string{}
|
missingKeys := []string{}
|
||||||
for _,headerKey := range requiredHeaders {
|
for _, headerKey := range requiredHeaders {
|
||||||
if "" == responseHeader.Get(headerKey) {
|
if "" == responseHeader.Get(headerKey) {
|
||||||
missingKeys = append(missingKeys, headerKey)
|
missingKeys = append(missingKeys, headerKey)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user