From ed7a5e760750cd19bd78e969f34588f2e53aa689 Mon Sep 17 00:00:00 2001 From: Julien Cassis Date: Thu, 26 Oct 2023 15:07:28 -0400 Subject: [PATCH] Adde network to basic info --- info/info.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/info/info.go b/info/info.go index 827af6f2c..7148e4323 100644 --- a/info/info.go +++ b/info/info.go @@ -14,6 +14,7 @@ type BasicInfo struct { Name string `json:"name"` Version string `json:"version"` Documentation *string `json:"documentation,omitempty"` + Network string `json:"network,omitempty"` Image []byte `json:"-"` Modules []ModulesInfo `json:"modules"` SinkInfo *SinkInfo `json:"sink_info,omitempty"` @@ -79,6 +80,7 @@ type ModuleInput struct { func Basic(pkg *pbsubstreams.Package) (*BasicInfo, error) { manifestInfo := &BasicInfo{ Name: pkg.PackageMeta[0].Name, + Network: pkg.Network, Version: pkg.PackageMeta[0].Version, Image: pkg.Image, }