From: Sebastian Harl Date: Sun, 4 Sep 2016 13:22:35 +0000 (-0400) Subject: store.h: Reuse the sdb_metric_store_t type for a metric's store field. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e5cdc52af5132aba291c623cada6ef585eb72089;p=sysdb.git store.h: Reuse the sdb_metric_store_t type for a metric's store field. --- 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;