diff --git a/CHANGELOG.md b/CHANGELOG.md index 72673626dfeb..00d05b2349ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ -# v0.9.0 [Unreleased] +# v0.9.1 [UNRELEASED] + +## Fixes and Improvements +* Fix worker registration check against enterprise licenses. + +# v0.9.0 ## Features diff --git a/ee/tabby-webserver/src/service/mod.rs b/ee/tabby-webserver/src/service/mod.rs index 26e9a6e3bf65..4521cae6634c 100644 --- a/ee/tabby-webserver/src/service/mod.rs +++ b/ee/tabby-webserver/src/service/mod.rs @@ -163,7 +163,7 @@ impl WorkerService for ServerContext { .await .map_err(|_| RegisterWorkerError::RequiresEnterpriseLicense)?; - if license.check_node_limit(count_workers + 1) { + if !license.check_node_limit(count_workers + 1) { return Err(RegisterWorkerError::RequiresEnterpriseLicense); }