Merge pull request #15306 from i-sevostyanov/master
fix(storage): added missing string values for CacheStatus type.pull/15322/head
commit
9be0de2f7f
|
@ -4,7 +4,8 @@
|
|||
1. [15313](https://github.com/influxdata/influxdb/pull/15313): Add shortcut for toggling comments in script editor
|
||||
|
||||
### Bug Fixes
|
||||
1. [15295](https://github.com/influxdata/influxdb/pull/15295): Ensures users are created with an active status
|
||||
1. [15295](https://github.com/influxdata/influxdb/pull/15295): Ensures users are created with an active status
|
||||
2. [15306](https://github.com/influxdata/influxdb/pull/15306): Added missing string values for CacheStatus type
|
||||
|
||||
## v2.0.0-alpha.18 [2019-09-26]
|
||||
|
||||
|
|
|
@ -12,11 +12,13 @@ func _() {
|
|||
_ = x[CacheStatusSizeExceeded-1]
|
||||
_ = x[CacheStatusAgeExceeded-2]
|
||||
_ = x[CacheStatusColdNoWrites-3]
|
||||
_ = x[CacheStatusRetention-4]
|
||||
_ = x[CacheStatusFullCompaction-5]
|
||||
}
|
||||
|
||||
const _CacheStatus_name = "CacheStatusOkayCacheStatusSizeExceededCacheStatusAgeExceededCacheStatusColdNoWrites"
|
||||
const _CacheStatus_name = "CacheStatusOkayCacheStatusSizeExceededCacheStatusAgeExceededCacheStatusColdNoWritesCacheStatusRetentionCacheStatusFullCompaction"
|
||||
|
||||
var _CacheStatus_index = [...]uint8{0, 15, 38, 60, 83}
|
||||
var _CacheStatus_index = [...]uint8{0, 15, 38, 60, 83, 103, 128}
|
||||
|
||||
func (i CacheStatus) String() string {
|
||||
if i < 0 || i >= CacheStatus(len(_CacheStatus_index)-1) {
|
||||
|
|
Loading…
Reference in New Issue