mirror of
https://github.com/distribution/distribution.git
synced 2025-06-28 08:18:18 +00:00
Merge pull request #3411 from dmage/cloudfront-update-frequency
updatefrequency should not be saved into duration
This commit is contained in:
commit
a60a3f69eb
@ -127,7 +127,7 @@ func newCloudFrontStorageMiddleware(storageDriver storagedriver.StorageDriver, o
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("invalid updatefrequency: %s", err)
|
return nil, fmt.Errorf("invalid updatefrequency: %s", err)
|
||||||
}
|
}
|
||||||
duration = updateFreq
|
updateFrequency = updateFreq
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user