pgraph: Remove use of Flags struct in favour of Value API
One small step to completely cleaning up the pgraph package so that we can eventually fix the code that would otherwise create a cycle!
This commit is contained in:
@@ -442,7 +442,7 @@ func (obj *Main) Run() error {
|
||||
}
|
||||
continue
|
||||
}
|
||||
newGraph.Flags = pgraph.Flags{Debug: obj.Flags.Debug}
|
||||
newGraph.SetValue("debug", obj.Flags.Debug)
|
||||
// pass in the information we need
|
||||
newGraph.AssociateData(&resources.Data{
|
||||
Hostname: hostname,
|
||||
|
||||
Reference in New Issue
Block a user