Merge pull request #17766 from stack72/manta-backend-force-directory-structure

backend/manta: Add support for manta backend tiered path structure
This commit is contained in:
James Bardin 2018-04-04 15:22:11 -04:00 committed by GitHub
commit a75e9ed9c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ func (c *RemoteClient) Lock(info *state.LockInfo) (string, error) {
ContentLength: uint64(contentLength), ContentLength: uint64(contentLength),
ObjectPath: path.Join(mantaDefaultRootStore, c.directoryName, lockFileName), ObjectPath: path.Join(mantaDefaultRootStore, c.directoryName, lockFileName),
ObjectReader: bytes.NewReader(data), ObjectReader: bytes.NewReader(data),
ForceInsert: true,
} }
log.Printf("[DEBUG] Creating manta state lock: %#v", params) log.Printf("[DEBUG] Creating manta state lock: %#v", params)