Skip to content

Commit 45d9024

Browse files
committed
Fix bug in step.lua
1 parent 0ac280f commit 45d9024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prometheus/step.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function Step:new(settings)
2323
end
2424

2525
for key, data in pairs(self.SettingsDescriptor) do
26-
if not settings[key] then
26+
if settings[key] == nil then
2727
if data.default == nil then
2828
logger:error(string.format("The Setting \"%s\" was not provided for the Step \"%s\"", key, self.Name));
2929
end

0 commit comments

Comments
 (0)