Add details command for SQL jobs and fix some minor warnings

This commit is contained in:
nxshock 2022-10-13 20:29:15 +05:00
parent da1437df54
commit 47e83f3f6e
3 changed files with 6 additions and 6 deletions

View file

@ -23,7 +23,7 @@
</td>
<tr>
<td>Command</td>
<td><pre>{{.JobConfig.Command}}</pre></td>
<td><pre>{{if eq .JobConfig.Type 1}}{{.JobConfig.Command}}{{else if eq .JobConfig.Type 2}}{{.JobConfig.SqlText}}{{end}}</pre></td>
</tr>
<tr>
<td>Status</td>