Skip to content

Commit

Permalink
Add waiting animation when downloading finished image
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamSimpson committed Feb 8, 2018
1 parent dfacd4d commit 6cafae3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Client/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,10 @@ int main(int argc, char *argv[]) {
stream_build(builder_stream);

// Read container from builder
WaitingAnimation wait_transfer("Transferring " + client_data.container_path );
read_file(builder_stream, client_data.container_path);
wait_transfer.stop_success("Completed");

Logger::info("Images created at " + client_data.container_path);
} catch (const boost::exception &ex) {
auto diagnostics = diagnostic_information(ex);
Logger::error(std::string() + "Container Builder exception encountered: " + diagnostics);
Expand Down

0 comments on commit 6cafae3

Please sign in to comment.