Merge pull request from influxdata/fix-buckets-max-buckets

Update max buckets to be greater than the number
pull/13811/head
Palakp41 2019-05-06 15:53:47 -07:00 committed by GitHub
commit 01ca65301a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
ui/src/cloud/actions

View File

@ -204,7 +204,7 @@ export const checkBucketLimits = () => async (
const bucketsMax = extractBucketMax(limits)
const bucketsCount = list.length
if (bucketsCount >= bucketsMax) {
if (bucketsCount > bucketsMax) {
dispatch(setBucketLimitStatus(LimitStatus.EXCEEDED))
dispatch(notify(resourceLimitReached('buckets')))
} else {