-
Notifications
You must be signed in to change notification settings - Fork 6
feat: call API delete publish endpoint in termination process #28
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
Conversation
Signed-off-by: Joerg Zeidler <[email protected]>
Signed-off-by: Joerg Zeidler <[email protected]>
src/main.rs
Outdated
| let ods_socket_path_for_api = ods_socket_path.clone(); | ||
| let api_config = Api { | ||
| ods_socket_path, | ||
| ods_socket_path: ods_socket_path_for_api, | ||
| update_os_path: update_os_path!(), | ||
| centrifugo_client_token_hmac_secret_key, | ||
| index_html, |
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.
- move line 189 to 200
let api_config = Api {
ods_socket_path: ods_socket_path.clone(),
update_os_path: update_os_path!(),
centrifugo_client_token_hmac_secret_key,
index_html,
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
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.
1.) is not done
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.
now it should be OK
src/socket_client.rs
Outdated
| post(request, socket_path).await | ||
| } | ||
|
|
||
| async fn post(request: Request<String>, socket_path: &str) -> Result<HttpResponse> { |
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.
rename to send_request
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
Signed-off-by: Joerg Zeidler <[email protected]>
Signed-off-by: Joerg Zeidler <[email protected]>
No description provided.