From e5cdc52af5132aba291c623cada6ef585eb72089 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 4 Sep 2016 09:22:35 -0400 Subject: [PATCH] store.h: Reuse the sdb_metric_store_t type for a metric's store field. --- src/include/core/store.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/include/core/store.h b/src/include/core/store.h index 5f60c8d..7a9a209 100644 --- a/src/include/core/store.h +++ b/src/include/core/store.h @@ -133,10 +133,7 @@ typedef struct { typedef struct { const char *hostname; const char *name; - struct { - const char *type; - const char *id; - } store; + sdb_metric_store_t store; sdb_time_t last_update; sdb_time_t interval; -- 2.30.2