mirror of
https://github.com/rclone/rclone.git
synced 2025-12-04 13:49:49 +02:00
build: Bump SwiftAIO container to a newer one
The bouncestorage image hasn't been updated for 4 years and has this message at the top of the docs: This repository is outdated; please use dockerswiftaio/docker-swift instead. However, dockerswiftaio/docker-swift hasn't been updated for 2 years. Switch to openstackswift/saio instead, which is getting regular updates. This requires some minor changes to one test, and how we start the container.
This commit is contained in:
committed by
Nick Craig-Wood
parent
604e37caa5
commit
cad1954213
@@ -206,8 +206,8 @@ func (f *Fs) testPolicyDiscovery(t *testing.T) {
|
||||
_, err = f.fetchStoragePolicy(ctx, container)
|
||||
require.NoError(t, err)
|
||||
|
||||
// Default policy for Swift is Policy-0.
|
||||
assert.Equal(t, "Policy-0", f.opt.StoragePolicy)
|
||||
// Default policy for SAIO image is 1replica.
|
||||
assert.Equal(t, "1replica", f.opt.StoragePolicy)
|
||||
|
||||
// Create a container using a non-default policy, and check to ensure
|
||||
// that the created segments container uses the same non-default policy.
|
||||
|
||||
Reference in New Issue
Block a user