File tree 4 files changed +5
-5
lines changed
jobs/describe_job_execution
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ is provided by code that been generated from a model of the service.
31
31
32
32
## Build from source
33
33
```
34
- git clone --branch v0.4.1 https://github.com/awslabs/aws-crt-cpp.git
34
+ git clone --branch v0.4.2 https://github.com/awslabs/aws-crt-cpp.git
35
35
git clone https://github.com/awslabs/aws-iot-device-sdk-cpp-v2.git
36
36
mkdir aws-crt-cpp-build
37
37
cd aws-crt-cpp-build
Original file line number Diff line number Diff line change @@ -134,14 +134,12 @@ namespace Aws
134
134
}
135
135
136
136
Crt::Delete (callbackContext, m_allocator);
137
- m_connectionManager->ReleaseConnection (connection);
138
137
};
139
138
140
139
if (!connection->NewClientStream (requestOptions))
141
140
{
142
141
onDiscoverResponse (nullptr , aws_last_error (), 0 );
143
142
Crt::Delete (callbackContext, m_allocator);
144
- m_connectionManager->ReleaseConnection (connection);
145
143
}
146
144
147
145
return ;
Original file line number Diff line number Diff line change @@ -285,7 +285,8 @@ int main(int argc, char *argv[])
285
285
describeJobExecutionRequest.ThingName = thingName;
286
286
describeJobExecutionRequest.JobId = jobId;
287
287
describeJobExecutionRequest.IncludeJobDocument = true ;
288
- describeJobExecutionRequest.ClientToken = Aws::Crt::UUID ();
288
+ Aws::Crt::UUID uuid;
289
+ describeJobExecutionRequest.ClientToken = uuid.ToString ();
289
290
290
291
auto publishHandler = [&](int ioErr) {
291
292
if (ioErr)
Original file line number Diff line number Diff line change @@ -81,7 +81,8 @@ static void s_changeShadowValue(
81
81
fprintf (stdout, " Changing local shadow value to %s.\n " , value.c_str ());
82
82
83
83
UpdateShadowRequest updateShadowRequest;
84
- updateShadowRequest.ClientToken = Aws::Crt::UUID ();
84
+ Aws::Crt::UUID uuid;
85
+ updateShadowRequest.ClientToken = uuid.ToString ();
85
86
86
87
JsonObject stateDocument;
87
88
JsonObject reported;
You can’t perform that action at this time.
0 commit comments