implement upsert, list in UI
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"fmt"
|
||||
"local/firestormy/config"
|
||||
"local/firestormy/config/ns"
|
||||
"local/firestormy/logger"
|
||||
"os/exec"
|
||||
"strings"
|
||||
"time"
|
||||
@@ -58,7 +57,6 @@ func newBashJob(schedule, sh string) (*Job, error) {
|
||||
if cmd != nil && cmd.ProcessState != nil {
|
||||
j.LastStatus = cmd.ProcessState.ExitCode()
|
||||
}
|
||||
logger.New().Info(fmt.Sprintf("%+v", j))
|
||||
b, err := j.Encode()
|
||||
if err == nil {
|
||||
// TODO webpage doenst load post SET despite this returning nil
|
||||
|
||||
Reference in New Issue
Block a user