Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Issue: #
  • Loading branch information
Jessie Chatham Spencer committed Dec 23, 2022
1 parent 6f69ac7 commit 5ccfe36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ame-cli/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl Project {

while let Some(entry) = log_stream.next().await {
let Ok(line) = String::from_utf8(entry.clone()?.contents) else {
println!("failed to parse log entry: {:?}", entry);
println!("failed to parse log entry: {entry:?}");
return Ok(());
};

Expand Down
2 changes: 1 addition & 1 deletion service/src/ameservice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl AmeService for Service {
let tasks = self.tasks.clone();

tracing::info!("streaming logs for: {}", &task_name);
let handle: JoinHandle<Result<()>> = tokio::spawn(async move {
let _handle: JoinHandle<Result<()>> = tokio::spawn(async move {
loop {
let task_pods = pods
.list(&ListParams::default().labels(&format!("ame-task={task_name}")))
Expand Down
2 changes: 1 addition & 1 deletion service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::string::FromUtf8Error;
use std::time::Duration;
use storage::S3Config;
use thiserror::Error;
use tokio::sync::mpsc::error::SendError;

use tonic::transport::NamedService;
use tonic_health::server::HealthReporter;

Expand Down

0 comments on commit 5ccfe36

Please sign in to comment.