engine: resources: Add missing WatchCmd UID

Not sure if this is even used anywhere, but might as well add it for
now.
This commit is contained in:
James Shubin
2023-11-28 15:04:22 -05:00
parent 8251c8f259
commit 709bf7b246

View File

@@ -592,6 +592,7 @@ func (obj *ExecRes) Interrupt() error {
type ExecUID struct {
engine.BaseUID
Cmd string
WatchCmd string
IfCmd string
// TODO: add more elements here
}
@@ -680,6 +681,7 @@ func (obj *ExecRes) UIDs() []engine.ResUID {
x := &ExecUID{
BaseUID: engine.BaseUID{Name: obj.Name(), Kind: obj.Kind()},
Cmd: obj.getCmd(),
WatchCmd: obj.WatchCmd,
IfCmd: obj.IfCmd,
// TODO: add more params here
}