Skip to content

Commit

Permalink
Fix upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Aug 24, 2023
1 parent f90e1d0 commit 562523c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/internal/database/meilisearch/meilisearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (db *Meilisearch) Upgrade() error {
db.log.Infow("start upgrade", "from", dbVersion, "to", meilisearchVersion)

// meilisearch --import-dump /dumps/20200813-042312213.dump
cmd := exec.Command(meilisearchCmd, "--import-dump", "--ignore-dump-if-db-exists", path.Join(db.dumpdir, latestStableDump)) // nolint:gosec
cmd := exec.Command(meilisearchCmd, "--ignore-dump-if-db-exists", "--import-dump", path.Join(db.dumpdir, latestStableDump)) // nolint:gosec
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
err = cmd.Run()
Expand Down
4 changes: 2 additions & 2 deletions deploy/meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
name: auditing-meili-meilisearch-environment
- secretRef:
name: metal-auditing-master-key
image: getmeili/meilisearch:v1.2.0
image: getmeili/meilisearch:v1.3.1
imagePullPolicy: IfNotPresent
name: meilisearch
command:
Expand Down Expand Up @@ -89,7 +89,7 @@ spec:
- name: bin-provision
subPath: tini
mountPath: /usr/local/bin/tini
- image: getmeili/meilisearch:v1.2.0
- image: getmeili/meilisearch:v1.3.1
name: backup-restore-sidecar
command:
- tini
Expand Down

0 comments on commit 562523c

Please sign in to comment.