(mp *format.MutableParameters, anyChange, upgradeToEpochManager *bool)
| 141 | } |
| 142 | |
| 143 | func updateEpochParameters(mp *format.MutableParameters, anyChange, upgradeToEpochManager *bool) { |
| 144 | *anyChange = true |
| 145 | |
| 146 | if !mp.EpochParameters.Enabled { |
| 147 | mp.EpochParameters = epoch.DefaultParameters() |
| 148 | mp.IndexVersion = 2 |
| 149 | *upgradeToEpochManager = true |
| 150 | } |
| 151 | |
| 152 | if mp.Version < format.FormatVersion2 { |
| 153 | mp.Version = format.FormatVersion2 |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | func disableBlobRetention(ctx context.Context, blobcfg *format.BlobStorageConfiguration, anyChange *bool) { |
| 158 | log(ctx).Info("disabling blob retention") |
no test coverage detected