[release] v0.6.3

This commit is contained in:
Yann Stepienik 2023-06-07 12:59:48 +01:00
parent 15397a75fe
commit 2fdcd9ee70
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "cosmos-server", "name": "cosmos-server",
"version": "0.6.2", "version": "0.6.3",
"description": "", "description": "",
"main": "test-server.js", "main": "test-server.js",
"bugs": { "bugs": {

View file

@ -31,8 +31,8 @@ func NewDB(w http.ResponseWriter, req *http.Request) (string, error) {
//if ARM use arm64v8/mongo //if ARM use arm64v8/mongo
if runtime.GOARCH == "arm64" { if runtime.GOARCH == "arm64" {
utils.Warn("ARM64 detected. Using ARM mongo 4.4") utils.Warn("ARM64 detected. Using ARM mongo 4.4.18")
imageName = "arm64v8/mongo:4.4" imageName = "arm64v8/mongo:4.4.18"
// if CPU is missing AVX, use 4.4 // if CPU is missing AVX, use 4.4
} else if runtime.GOARCH == "amd64" && !cpu.X86.HasAVX { } else if runtime.GOARCH == "amd64" && !cpu.X86.HasAVX {