Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/gw 3826 setup uploader when update gcp config #2917

Conversation

fezzlk
Copy link
Contributor

@fezzlk fezzlk commented Oct 19, 2020

No description provided.

@fezzlk fezzlk changed the base branch from feat/GW-3658-can-use-GCP-from-db-vars to master October 19, 2020 08:04
@fezzlk fezzlk changed the base branch from master to feat/GW-3658-can-use-GCP-from-db-vars October 19, 2020 08:04
@fezzlk fezzlk changed the base branch from feat/GW-3658-can-use-GCP-from-db-vars to master October 19, 2020 08:11
@fezzlk fezzlk changed the base branch from master to feat/GW-3658-can-use-GCP-from-db-vars October 19, 2020 08:12
src/server/crowi/index.js Outdated Show resolved Hide resolved
src/server/crowi/index.js Show resolved Hide resolved
src/server/service/file-uploader/index.js Outdated Show resolved Hide resolved

const method = envToModuleMappings[process.env.FILE_UPLOAD] || fileUplodeTypeInConfig || 'aws';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

後続タスクでいいんだけど、ここ綺麗にしたいなあ。
レガシーコードだから process.env の参照があっても許してたけど、本来は configManager.getConfig で参照した時には既に環境変数とDB値のどちらが強いのかは解決していてほしい。

@yuki-takei yuki-takei merged commit 2a4e0a5 into feat/GW-3658-can-use-GCP-from-db-vars Oct 20, 2020
@yuki-takei yuki-takei deleted the feat/GW-3826-setup-uploader-when-update-gcp-config branch October 20, 2020 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants