Fix build error 81/305781/1
authorSangyoon Jang <jeremy.jang@samsung.com>
Thu, 8 Feb 2024 00:35:41 +0000 (09:35 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Thu, 8 Feb 2024 00:35:41 +0000 (09:35 +0900)
Change-Id: I5a4aa5823af42e6bc8061b2c94e5e1783118bf62
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/common/plugins/metadata_plugin.cc

index cf2952a..c92b187 100644 (file)
@@ -33,7 +33,7 @@ GList* GetMetadataListForKey(GList* list, const std::string& key) {
   GList* md_list = nullptr;
   for (metadata_x* meta : GListRange<metadata_x*>(list)) {
     // key and val should not be null (at least empty string)
-    if (!meta->key || !meta->val) {
+    if (!meta->key || !meta->value) {
       LOG(ERROR) << "Metadata key or val is null";
       continue;
     }