Skip to content

Commit c129fd4

Browse files
committed
Fix GetExec to return c.id as plain string
1 parent 9313937 commit c129fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resource/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (c *Command) GetExec() interface{} {
4848
} else if len(c.Exec.CmdSlice) > 0 {
4949
return c.Exec.CmdSlice
5050
} else {
51-
return util.ExecCommand{CmdStr: c.id}
51+
return c.id
5252
}
5353
}
5454

0 commit comments

Comments
 (0)