Remove replaced Job configuration from config file

This commit is contained in:
restitux 2023-02-14 20:43:04 -07:00
parent edafd5108a
commit 664fe8fd09
1 changed files with 0 additions and 20 deletions

View File

@ -6,24 +6,6 @@ import (
"git.ohea.xyz/golang/config"
)
type WebhookSender string
const (
Gitea WebhookSender = "gitea"
)
type Webhook struct {
Sender WebhookSender
Secret string
}
type Job struct {
URL string
Webhook *Webhook
Cron *string
PollInterval uint64
}
type Runner struct {
Secret string
}
@ -60,7 +42,6 @@ type Config struct {
Port int
DBConfig DBConfig
PipelineConf PipelineConf
Jobs map[string]Job
Runners map[string]Runner
}
@ -88,7 +69,6 @@ func GetConfig() (config.Config[Config], error) {
Source: "/opt/cursorius/working",
},
},
Jobs: make(map[string]Job),
Runners: make(map[string]Runner),
},
}