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:
parent
2148741c38
commit
01775ca5bf
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue