Skip to content

Commit

Permalink
Removed unnessesary argument output from jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
michelvocks committed Jan 22, 2019
1 parent efa7350 commit 250a776
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ using gaia::job;
void CreateUser(list<argument> args) throw(string) {
cerr << "CreateUser has been started!" << endl;

// Print arguments
for (auto const& arg : args) {
cerr << "Key: " << arg.key << "; Value: " << arg.value << ";" << endl;
}

// lets sleep to simulate that we do something
std::this_thread::sleep_for(std::chrono::milliseconds(2000));

Expand All @@ -27,11 +22,6 @@ void CreateUser(list<argument> args) throw(string) {
void MigrateDB(list<argument> args) throw(string) {
cerr << "MigrateDB has been started!" << endl;

// Print arguments
for (auto const& arg : args) {
cerr << "Key: " << arg.key << "; Value: " << arg.value << ";" << endl;
}

// lets sleep to simulate that we do something
std::this_thread::sleep_for(std::chrono::milliseconds(2000));

Expand Down

0 comments on commit 250a776

Please sign in to comment.