message: get pod name from arg
diff: @@ -6,6 +6,7 @@ use kube::{
  client::APIClient,
  config,
  };
  +use std::env;
  fn main() -> Result<(), failure::Error> {
  std::env::set_var("RUST_LOG", "info,kube=trace");
  @@ -13,13 +14,19 @@ fn main() -> Result<(), failure::Error> {
  let config = config::load_kube_config().expect("failed to load kubeconfig");
  let client = APIClient::new(config);
  - let mypod: &str = "mypod";
  + let mypod = match env::args().nth(1) {
  + Some(pod) => pod,
  + None => {
  + println!("Usage: log_openapi <pod>");
  + return Ok(());
  + }
  + };
  // Manage pods
  let pods = Api::v1Pod(client);;
  let lp = LogParams::default();
  - let plog = pods.within("default").log(mypod, &lp)?;
  - println!("Got pod {} log: {}", mypod, &plog);
  + let plog = pods.within("default").log(&mypod, &lp)?;
  + println!("Got pod {} log: {}", &mypod, &plog);
  Ok(())
  }
  