Skip to content

Commit

Permalink
Adde network to basic info
Browse files Browse the repository at this point in the history
  • Loading branch information
jubeless committed Oct 26, 2023
1 parent 979144a commit ed7a5e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions info/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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,
}
Expand Down

0 comments on commit ed7a5e7

Please sign in to comment.