Skip to content
Snippets Groups Projects
Commit 166f4a63 authored by ale's avatar ale
Browse files

reduce excessive logging

parent 8fa22d25
Branches
Tags
No related merge requests found
...@@ -2,7 +2,6 @@ package node ...@@ -2,7 +2,6 @@ package node
import ( import (
"errors" "errors"
"log"
"os" "os"
"os/exec" "os/exec"
) )
...@@ -33,7 +32,6 @@ func (ic *IcecastController) reload() error { ...@@ -33,7 +32,6 @@ func (ic *IcecastController) reload() error {
func (ic *IcecastController) Update(conf *ClusterConfig, isMaster bool, masterAddr string) error { func (ic *IcecastController) Update(conf *ClusterConfig, isMaster bool, masterAddr string) error {
if !isMaster && masterAddr == "" { if !isMaster && masterAddr == "" {
log.Printf("system in unknown state (no master) - update aborted")
return errors.New("unknown system state") return errors.New("unknown system state")
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment