Skip to content

Commit 316107b

Browse files
vareddyhedeshianaws
authored andcommitted
Ignore delta token callback for metadata
1 parent 462f35d commit 316107b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/aws_iot_shadow_json.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ bool isJsonKeyMatchingAndUpdateValue(const char *pJsonDocument, void *pJsonHandl
395395
*pDataPosition = dataToken.start;
396396
*pDataLength = dataLength;
397397
return true;
398+
} else if(jsoneq(pJsonDocument, &(jsonTokenStruct[i]), "metadata") == 0) {
399+
return false;
398400
}
399401
}
400402
return false;

0 commit comments

Comments
 (0)