engine: Pass through the program version

We forgot this in a few places.
This commit is contained in:
James Shubin
2022-02-17 13:28:17 -05:00
parent bf7e45439b
commit 0ab2406db9
6 changed files with 12 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ const (
// Engine encapsulates a generic graph and manages its operations.
type Engine struct {
Program string
Version string
Hostname string
World engine.World
@@ -198,6 +199,7 @@ func (obj *Engine) Commit() error {
Vertex: vertex,
Program: obj.Program,
Version: obj.Version,
Hostname: obj.Hostname,
World: obj.World,