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

Getting rid of warning in TCP iface #342

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions open-codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

Note: This is the Changelog file of `opengen` - the Python interface of OpEn



## [0.8.1] - Unreleased

### Changed

- Handling kill code in TCP server interface to get rid of warning

## [0.8.0] - 2024-03-20

### Added
Expand Down Expand Up @@ -185,6 +193,7 @@ Note: This is the Changelog file of `opengen` - the Python interface of OpEn
* Project-specific `tcp_iface` TCP interface
* Fixed `lbfgs` typo

[0.8.1]: https://github.com/alphaville/optimization-engine/compare/opengen-0.8.0...opengen-0.8.1
[0.8.0]: https://github.com/alphaville/optimization-engine/compare/opengen-0.7.1...opengen-0.8.0
[0.7.1]: https://github.com/alphaville/optimization-engine/compare/opengen-0.7.0...opengen-0.7.1
[0.7.0]: https://github.com/alphaville/optimization-engine/compare/opengen-0.6.13...opengen-0.7.0
Expand Down
4 changes: 2 additions & 2 deletions open-codegen/opengen/templates/tcp/tcp_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ fn run_server(tcp_config: &TcpServerConfiguration) {
&mut p,
&mut stream);
}
ClientRequest::Kill(_) => {
info!("Quitting on request");
ClientRequest::Kill(kill_code) => {
info!("Quitting on request (kill code: {})", kill_code);
break;
}
ClientRequest::Ping(ping_code) => {
Expand Down
Loading