Merge pull request #3411 from dmage/cloudfront-update-frequency

updatefrequency should not be saved into duration
This commit is contained in:
Milos Gajdos 2021-09-21 15:01:21 +01:00 committed by GitHub
commit a60a3f69eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ func newCloudFrontStorageMiddleware(storageDriver storagedriver.StorageDriver, o
if err != nil {
return nil, fmt.Errorf("invalid updatefrequency: %s", err)
}
duration = updateFreq
updateFrequency = updateFreq
}
}