Merge pull request #2876 from abays/fix_amqp1_typo
authorPavel Rochnyak <pavel2000@ngs.ru>
Wed, 25 Jul 2018 17:17:28 +0000 (00:17 +0700)
committerGitHub <noreply@github.com>
Wed, 25 Jul 2018 17:17:28 +0000 (00:17 +0700)
Fix typo in amqp1 JSON format error message

src/amqp1.c

index 635af0f..072598c 100644 (file)
@@ -479,7 +479,7 @@ static int amqp1_write(const data_set_t *ds, const value_list_t *vl, /* {{{ */
     }
     cdm->mbuf.size = strlen(cdm->mbuf.start);
     if (cdm->mbuf.size >= BUFSIZE) {
-      ERROR("amqp1 plugin: format graphite failed");
+      ERROR("amqp1 plugin: format json failed");
       cd_message_free(cdm);
       return -1;
     }