-
Notifications
You must be signed in to change notification settings - Fork 184
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
Extract storage layer + cs3impl #623
Conversation
This comment has been minimized.
This comment has been minimized.
f90a03e
to
52351d2
Compare
100fa2c
to
64bef69
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple changes. LGTM!
@@ -99,6 +99,62 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag { | |||
EnvVars: []string{"ACCOUNTS_JWT_SECRET"}, | |||
Destination: &cfg.TokenManager.JWTSecret, | |||
}, | |||
&cli.StringFlag{ | |||
Name: "storage-disk-path", | |||
Value: "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have a default value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. ;-) We have default values for the CS3 Repo
implementation, since it's supposed to be the default. When any other storage is configured (we only have the disk implementation as "other storage") we switch over to that.
TL;DR: Setting a default here would switch back to using the local disk for persisting accounts. We want to use CS3 as default, so we can't have a default disk path.
0744d62
to
e145c3b
Compare
@refs thanks for your input! Adjusted the PR and rebased to current master. Could you re-review please? :-) |
No description provided.