Skip to content

Commit

Permalink
Merge pull request #107 from bloveless/fix-getting-pod-logs
Browse files Browse the repository at this point in the history
Added a ? so that getting pod logs works
  • Loading branch information
clux authored Dec 27, 2019
2 parents 2e4410e + 2c16169 commit 2a335b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ impl RawApi {
impl RawApi {
/// Get a pod logs
pub fn log(&self, name: &str, lp: &LogParams) -> Result<http::Request<Vec<u8>>> {
let base_url = self.make_url() + "/" + name + "/" + "log";
let base_url = self.make_url() + "/" + name + "/" + "log?";
let mut qp = url::form_urlencoded::Serializer::new(base_url);

if let Some(container) = &lp.container {
Expand Down

0 comments on commit 2a335b3

Please sign in to comment.