Browse Source

Fix children version on stream (#9438)

Store Netdata child version instead parent version inside `HOST` structure.
thiagoftsm 4 years ago
parent
commit
a36401f875
1 changed files with 4 additions and 4 deletions
  1. 4 4
      streaming/receiver.c

+ 4 - 4
streaming/receiver.c

@@ -255,8 +255,8 @@ static int rrdpush_receive(struct receiver_state *rpt)
                 , rpt->os
                 , rpt->timezone
                 , rpt->tags
-                , program_name
-                , program_version
+                , rpt->program_name
+                , rpt->program_version
                 , rpt->update_every
                 , history
                 , mode
@@ -294,8 +294,8 @@ static int rrdpush_receive(struct receiver_state *rpt)
             , rpt->os
             , rpt->timezone
             , rpt->tags
-            , program_name
-            , program_version
+            , rpt->program_name
+            , rpt->program_version
             , rpt->update_every
             , history
             , mode