-
Notifications
You must be signed in to change notification settings - Fork 5
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
Change struct Configuration to enum Configs #59
Conversation
ceed94d
to
0823363
Compare
@sophie-cluml hog giganto_address 추가해주세요 |
이미 crusher에 적용되어있는 수정 가능한 configuration은 기존과 같이 giganto의 |
f69698a
to
ee73ab6
Compare
@BLYKIM I added |
src/request.rs
Outdated
#[derive(Debug, Deserialize, Serialize)] | ||
pub struct CrusherConfig { | ||
pub review_address: SocketAddr, | ||
pub gignato_ingest_address: SocketAddr, |
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.
gignato
-> giganto
, Option<SocketAddr>로 변경 부탁드려요
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.
Done
ee73ab6
to
9a7098c
Compare
CHANGELOG.md
Outdated
@@ -248,6 +255,7 @@ without relying on the content of the response. | |||
|
|||
- `send_frame` and `recv_frame` to send and receive length-delimited frames. | |||
|
|||
[Unreleased]: https://github.com/petabi/oinq/compare/0.9.1...main |
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.
0.9.3...main으로 변경해주세요
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.
Thank you, done!
9a7098c
to
d4bd2fc
Compare
CHANGELOG.md
Outdated
|
||
### Changed | ||
|
||
- Change struct `Configuration` to enum `Configs` and define configuration by |
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.
Could you change this to past tense please?
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.
Sure, done!
src/request.rs
Outdated
pub giganto_name: Option<String>, | ||
pub dump_file: Option<String>, | ||
pub dump_size: Option<usize>, | ||
pub enum Configs { |
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.
Config
would be more appropriate, as enum
could only be one of the Config
kind.
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.
Done
d4bd2fc
to
d592c2b
Compare
closes #58
@BLYKIM @dayeon5470 please help double-check if each module's Configs are okay.