forked from TrueCloudLab/distribution
Merge pull request #3411 from dmage/cloudfront-update-frequency
updatefrequency should not be saved into duration
This commit is contained in:
commit
a60a3f69eb
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue