Просмотр исходного кода

Fix spacing in plugin template

Signed-off-by: Robert Lin <robertlin1@gmail.com>
Robert Lin 6 лет назад
Родитель
Сommit
805d92b104
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      cmd/hercules/plugin.template

+ 2 - 2
cmd/hercules/plugin.template

@@ -84,8 +84,8 @@ func ({{.varname}} *{{.name}}) Description() string {
 // Configure applies the parameters specified in the command line. Map keys correspond to "Name".
 func ({{.varname}} *{{.name}}) Configure(facts map[string]interface{}) error {
   if l, exists := facts[hercules.ConfigLogger].(hercules.Logger); exists {
-		{{.varname}}.l = l
-	}
+    {{.varname}}.l = l
+  }
   return nil
 }