Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI cluster install changes #67

Merged
merged 3 commits into from
Jun 9, 2020
Merged

Conversation

vijaylaxmid
Copy link
Contributor

fixes #36 cl- updated description

  • updated launching SPU statement
  • display log locations for SC and SPU for local

- updated description
- updated launching SPU statement
- display log locations for SC and SPU for local
@@ -170,7 +171,7 @@ async fn launch_spu(spu_index: u16, client: SharedK8Client, option: &InstallComm
.print();

println!("SPU<{}> cmd: {:#?}", spu_index, cmd);

println!("SPU log generated at /tmp/spu_log_{}.log", spu_id);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So logic duplicated here. Can you assign location of the log then just reuse here? for example:

let log = format!("/tmp/spu_log_{},spu_id);      
....
println!("SPU log generated at {}", log);

@sehz sehz merged commit d47e504 into infinyon:master Jun 9, 2020
@vijaylaxmid vijaylaxmid deleted the cluster_install_cli branch June 9, 2020 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI: misc cluster install changes
2 participants