diff options
| author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-26 15:23:04 +0200 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-28 12:55:16 +0200 |
| commit | 8b38a040830109f19550e7329b82ec5caf76b321 (patch) | |
| tree | 13ecc54219914102f69fb59e005a836a88f78f5c /object_iterator.go | |
| parent | 4f67f4c0a59a850321b37a154efc9bde60539ca8 (diff) | |
| download | go-schwift-8b38a040830109f19550e7329b82ec5caf76b321.tar.gz | |
Fix linting errors
Diffstat (limited to 'object_iterator.go')
| -rw-r--r-- | object_iterator.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/object_iterator.go b/object_iterator.go index dcb8443..64b5551 100644 --- a/object_iterator.go +++ b/object_iterator.go @@ -155,13 +155,13 @@ func (i *ObjectIterator) NextPageDetailed(limit int) ([]ObjectInfo, error) { result[idx].LastModified, err = time.Parse(time.RFC3339Nano, data.LastModifiedStr+"Z") if err != nil { //this error is sufficiently obscure that we don't need to expose a type for it - return nil, fmt.Errorf("Bad field objects[%d].last_modified: %s", idx, err.Error()) + return nil, fmt.Errorf("bad field objects[%d].last_modified: %s", idx, err.Error()) } if data.SymlinkPath != "" { match := symlinkPathRx.FindStringSubmatch(data.SymlinkPath) if match == nil { //like above - return nil, fmt.Errorf("Bad field objects[%d].symlink_path: %q", idx, data.SymlinkPath) + return nil, fmt.Errorf("bad field objects[%d].symlink_path: %q", idx, data.SymlinkPath) } a := i.Container.a if a.Name() != match[1] { |
