mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-31 16:35:23 +00:00
Fix log message for setLogToDisplay
This commit is contained in:
parent
adb7ef1140
commit
d0f748379e
@ -84,7 +84,7 @@ setLogToDisplay = (env, logMessage) ->
|
||||
return false
|
||||
else
|
||||
if body.Data == true
|
||||
logMessage("#{enable ? "Enabled" : "Disabled"} logs to display")
|
||||
logMessage("#{if enable then "Enabled" else "Disabled"} logs to display")
|
||||
return body.Data
|
||||
.catch (err) ->
|
||||
logMessage("Error setting log to display: #{err}", {error: err}, "Set log to display error")
|
||||
|
Loading…
x
Reference in New Issue
Block a user