AlteredCoder 5 年 前
コミット
9c1886465b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      pkg/outputs/ouputs.go

+ 1 - 1
pkg/outputs/ouputs.go

@@ -157,7 +157,7 @@ func (o *Output) ProcessOutput(sig types.SignalOccurence, profiles []types.Profi
 
 		log.Printf("Checking if can push to API totototo")
 		// if ApiPush is nil (not specified in profile configuration) we use global api config (from default.yaml)
-		if profile.ApiPush == nil {
+		if profile.ApiPush == nil || *profile.ApiPush == true {
 			log.Printf("profile configured to push in API totototo")
 			if o.API != nil { // if API is not nil, we can push
 				log.Printf("Can append signal to API totototo")