Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Merge pull request #234 from marmistrz/guclient-log
Browse files Browse the repository at this point in the history
Log the commands in PeerSession::update
  • Loading branch information
tworec authored Jul 11, 2019
2 parents cd6524d + c0f4550 commit 15978f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gu-client/src/async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use std::{env, str};
use actix_web::{client, http, HttpMessage};
use bytes::Bytes;
use futures::{future, prelude::*};
use log::debug;
use serde::de::DeserializeOwned;
use serde::Serialize;
use url::Url;
Expand Down Expand Up @@ -534,6 +535,10 @@ impl PeerSession {
&self,
commands: Vec<envman::Command>,
) -> impl Future<Item = Vec<String>, Error = Error> {
debug!(
"Sending the following commands to {:?}: {:?}",
self.peer.node_id, commands
);
let url = format!(
"{}sessions/{}/peers/{}/deployments/{}",
self.peer
Expand Down

0 comments on commit 15978f6

Please sign in to comment.