1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

[Bugfix] [LicenseV2] Skip check on community (#894)

This commit is contained in:
Adam Janikowski 2022-01-20 13:01:42 +01:00 committed by GitHub
parent 2148741c38
commit 01775ca5bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
# Change Log
## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A)
- Do not check License V2 on Community images
## [1.2.7](https://github.com/arangodb/kube-arangodb/tree/1.2.7) (2022-01-17)
- Add Plan BackOff functionality

View file

@ -57,12 +57,12 @@ func updateClusterLicense(ctx context.Context,
return false
}
return i.ArangoDBVersion.CompareTo("3.9.0") >= 0
return i.ArangoDBVersion.CompareTo("3.9.0") >= 0 && i.Enterprise
})
if len(members) == 0 {
// No member found to take this action
log.Trace().Msgf("No member in version 3.9.0 or above")
log.Trace().Msgf("No enterprise member in version 3.9.0 or above")
return nil
}