mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +00:00
Removed extra log statement on error
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
This commit is contained in:
parent
7fa03cb7a1
commit
ee88d42a14
@ -145,8 +145,6 @@ func pipeRequest(config *WatchdogConfig, w http.ResponseWriter, r *http.Request,
|
|||||||
if config.writeDebug == true {
|
if config.writeDebug == true {
|
||||||
log.Printf("Success=%t, Error=%s\n", targetCmd.ProcessState.Success(), err.Error())
|
log.Printf("Success=%t, Error=%s\n", targetCmd.ProcessState.Success(), err.Error())
|
||||||
log.Printf("Out=%s\n", out)
|
log.Printf("Out=%s\n", out)
|
||||||
} else {
|
|
||||||
log.Printf("An Error Occurred\n")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ri.headerWritten == false {
|
if ri.headerWritten == false {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user