Repository navigation
Resolve short Elasticsearch/OpenSearch versions to full patch versions for Docker images - #62
Conversation
…search and OpenSearch Agent-Logs-Url: https://github.com/qoliber/magebox/sessions/0ac6de36-a782-4735-bcb6-3e068d1cefb3 Co-authored-by: peterjaap <[email protected]>
|
@copilot is there any way to not make this depend on a hardcoded mapping? |
Yes — replaced the hardcoded map with a live Docker Hub tags API query (commit d307dd6). When the user writes Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot linting failed |
|
@copilot pleaser also make sure "7" works, not just "7.17" |
ResolveElasticsearchVersion/ResolveOpenSearchVersionusing dynamic Docker Hub tag API queriesinternal/docker/registry.gowithresolveDockerTagVersion,queryDockerHubLatestTag,compareVersionStrings, in-memorysync.Mapcachecompose.gohttptestmock servererrchecklint failure: use two-value type assertioncached.(string)→v, ok := cached.(string)inresolveDockerTagVersion