Function
setRetentionModeParameter
(ctx context.Context, v blob.RetentionMode, desc string, dst *blob.RetentionMode, anyChange *bool)
Source from the content-addressed store, hash-verified
| 101 | } |
| 102 | |
| 103 | func setRetentionModeParameter(ctx context.Context, v blob.RetentionMode, desc string, dst *blob.RetentionMode, anyChange *bool) { |
| 104 | if !v.IsValid() { |
| 105 | return |
| 106 | } |
| 107 | |
| 108 | *dst = v |
| 109 | *anyChange = true |
| 110 | |
| 111 | log(ctx).Infof(" - setting %v to %s.\n", desc, v) |
| 112 | } |
| 113 | |
| 114 | func updateRepositoryParameters( |
| 115 | ctx context.Context, |
Tested by
no test coverage detected