Skip to content

Commit

Permalink
[db-sync] Remove VERSION env var
Browse files Browse the repository at this point in the history
logging is not a good enough reason to restart this service
  • Loading branch information
csweichel authored and roboquat committed Aug 12, 2021
1 parent 871f550 commit 2b76649
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions chart/templates/db-sync-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ spec:
securityContext:
privileged: false
{{ include "gitpod.container.defaultEnv" $this | indent 8 }}
- name: VERSION
value: "${{ .Values.version }}"
- name: db-sync-sessions
image: {{ template "gitpod.comp.imageFull" $this }}
command: [ "node", "--max-old-space-size=2048", "lib/main.js" ]
Expand Down
2 changes: 1 addition & 1 deletion components/ee/db-sync/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { log } from '@gitpod/gitpod-protocol/lib/util/logging';
import { ICommand } from "./commands";
import { Container } from "inversify";
import { productionContainerModule } from "./container-module";
log.enableJSONLogging('db-sync', process.env.VERSION);
log.enableJSONLogging('db-sync', undefined);

const parser = new ArgumentParser({
version: "0.1.5",
Expand Down

0 comments on commit 2b76649

Please sign in to comment.