diff options
Diffstat (limited to 'app/diagnostics.go')
-rw-r--r-- | app/diagnostics.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/diagnostics.go b/app/diagnostics.go index 689a79f81..c0499bd89 100644 --- a/app/diagnostics.go +++ b/app/diagnostics.go @@ -86,10 +86,7 @@ func SendDiagnostic(event string, properties map[string]interface{}) { } func isDefault(setting interface{}, defaultValue interface{}) bool { - if setting == defaultValue { - return true - } - return false + return setting == defaultValue } func pluginSetting(pluginSettings *model.PluginSettings, plugin, key string, defaultValue interface{}) interface{} { |