Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
alfred2g committed Nov 21, 2023
1 parent c76259c commit 449851c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions samples/jobs/describe_job_execution/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,14 @@ int main(int argc, char *argv[])

{
auto OnSubscribeToStartNextPendingJobExecutionAcceptedResponse =
[&](StartNextJobExecutionResponse *response, int ioErr) {
[&](StartNextJobExecutionResponse *response, int ioErr) {
fprintf(stdout, "Start Job %s\n", response->Execution.value().JobId.value().c_str());
currentJobId = response->Execution->JobId.value();
currentExecutionNumber = response->Execution->ExecutionNumber.value();
currentVersionNumber = response->Execution->VersionNumber.value();

pendingExecutionPromise.set_value();
};
};

StartNextPendingJobExecutionSubscriptionRequest subscriptionRequest;
subscriptionRequest.ThingName = cmdData.input_thingName;
Expand Down Expand Up @@ -245,8 +245,8 @@ int main(int argc, char *argv[])

{
pendingExecutionPromise = std::promise<void>();
auto OnSubscribeToUpdateJobExecutionAcceptedResponse =
[&](UpdateJobExecutionResponse *response, int iotErr) {
auto OnSubscribeToUpdateJobExecutionAcceptedResponse = [&](UpdateJobExecutionResponse *response,
int iotErr) {
fprintf(stdout, "Marked Job %s IN_PROGRESS", currentJobId.c_str());
pendingExecutionPromise.set_value();
};
Expand Down

0 comments on commit 449851c

Please sign in to comment.