Skip to content

Conversation

@dwickern
Copy link

Try each prefix when detecting the engine version. For example, if the secret path is secret/myapp/config, the engine could be mounted at any of these paths

  • secret/myapp/config/
  • secret/myapp/
  • secret/

This PR also includes a small fix to handle "unknown" values without throwing a NumberFormatException.

@henryx henryx self-requested a review November 12, 2025 21:39
@henryx
Copy link
Collaborator

henryx commented Nov 17, 2025

I'm not sure if the case is correctly covered by tests, but rewite is good for me. I'll merge it

@henryx henryx merged commit 343b3e5 into jopenlibs:master Nov 17, 2025
17 checks passed
@dwickern dwickern deleted the detection branch November 18, 2025 00:27
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.

2 participants