mirror of
https://github.com/Luzifer/elastic_cron.git
synced 2024-12-23 02:41:20 +00:00
Fix go-vet error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
73e61cdd24
commit
0cf16d9f98
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -50,7 +50,7 @@ func init() {
|
||||||
func main() {
|
func main() {
|
||||||
body, err := ioutil.ReadFile(cfg.ConfigFile)
|
body, err := ioutil.ReadFile(cfg.ConfigFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Unable to read config file: %s")
|
log.Fatalf("Unable to read config file: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
cc := cronConfig{
|
cc := cronConfig{
|
||||||
|
|
Loading…
Reference in a new issue