Merge pull request #15306 from i-sevostyanov/master

fix(storage): added missing string values for CacheStatus type.
pull/15322/head
Edd Robinson 2019-10-04 14:23:37 -07:00 committed by GitHub
commit 9be0de2f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -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]

View File

@ -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) {