Fix formatting args
This commit is contained in:
parent
cd9d2aae65
commit
db947e344e
2 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@ Error loading new template: %v
|
||||||
|
|
||||||
for _, f := range filesToWatch {
|
for _, f := range filesToWatch {
|
||||||
_, err = watch.NewFileWatcher(f, func() {
|
_, err = watch.NewFileWatcher(f, func() {
|
||||||
glog.Info("File %v changed. Reloading NGINX", f)
|
glog.Infof("File %v changed. Reloading NGINX", f)
|
||||||
n.syncQueue.EnqueueTask(task.GetDummyObject("file-change"))
|
n.syncQueue.EnqueueTask(task.GetDummyObject("file-change"))
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -92,5 +92,5 @@ func New(m string) error {
|
||||||
// Errorf formats according to a format specifier and returns the string
|
// Errorf formats according to a format specifier and returns the string
|
||||||
// as a value that satisfies error.
|
// as a value that satisfies error.
|
||||||
func Errorf(format string, args ...interface{}) error {
|
func Errorf(format string, args ...interface{}) error {
|
||||||
return errors.Errorf(format, args)
|
return errors.Errorf(format, args...)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue