mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 16:38:14 +00:00
fix command line arg
This commit is contained in:
1 parent
0fdfc3b8fc
commit
5153bda209
2 files changed
+6
-2
No files matched your search
@@ -16,6 +16,9 @@ use crate::http_server::http_server_shared_state::HttpServerSharedState;
|
||||
#[derive(Serialize)]
|
||||
pub struct HealthCheckResponse {
|
||||
pub success: bool,
|
||||
|
||||
/// The server goes unhealthy when the consecutive job failure count exceeds
|
||||
/// a configured threshold.
|
||||
pub is_healthy: bool,
|
||||
|
||||
pub consecutive_failure_count: u64,
|
||||
|
||||
+3
-2
@@ -32,8 +32,9 @@ impl CommandArgs for LivePortraitCommandArgs<'_> {
|
||||
command.push_str(" --output-filename ");
|
||||
command.push_str(&path_to_string(self.output_file));
|
||||
|
||||
command.push_str(" --input-is-image ");
|
||||
command.push_str(bool_to_str(self.input_is_image));
|
||||
if self.input_is_image {
|
||||
command.push_str(" --input-is-image ");
|
||||
}
|
||||
|
||||
command.push_str(" ");
|
||||
|
||||
|
||||
Reference in new issue
Block a user