Skip to content

utils: fix tarantool detection under cartridge - #61

Merged
patapenka-alexey merged 1 commit into
masterfrom
patapenka-alexey/tntp-9875-hotfix
Sep 11, 2026
Merged

utils: fix tarantool detection under cartridge#61
patapenka-alexey merged 1 commit into
masterfrom
patapenka-alexey/tntp-9875-hotfix

Conversation

@patapenka-alexey

@patapenka-alexey patapenka-alexey commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Fixed utils.get_tnt_version() aborting with variable 'tarantool' is not declared in Cartridge applications, which broke Tarantool Enterprise detection (#61).

Part of TNTP-9875

Comment thread CHANGELOG.md Outdated
@patapenka-alexey
patapenka-alexey force-pushed the patapenka-alexey/tntp-9875-hotfix branch 2 times, most recently from f08f40d to 1d28d95 Compare September 11, 2026 11:53
Detect Tarantool Enterprise via the built-in `tarantool` module instead of
reading the `_G.tarantool` global, which raises under Cartridge strict
globals in `utils.get_tnt_version()`.

Part of TNTP-9875
@patapenka-alexey
patapenka-alexey force-pushed the patapenka-alexey/tntp-9875-hotfix branch from 1d28d95 to c372e52 Compare September 11, 2026 11:55
@patapenka-alexey
patapenka-alexey merged commit 3fdc627 into master Sep 11, 2026
1 check passed
@patapenka-alexey patapenka-alexey mentioned this pull request Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants