cleanup unnecessary use of floats

This commit is contained in:
Joel Wetzell
2026-03-02 12:34:06 -06:00
parent df14024012
commit 34af7d7aec
19 changed files with 86 additions and 86 deletions

View File

@@ -16,7 +16,7 @@ func TestTimeSleepFromRegistry(t *testing.T) {
processorInstance, err := registration.New(config.ProcessorConfig{
Type: "time.sleep",
Params: map[string]any{
"duration": 1000.0,
"duration": 1000,
},
})
@@ -38,7 +38,7 @@ func TestGoodTimeSleep(t *testing.T) {
{
name: "string payload",
payload: "hello",
params: map[string]any{"duration": 100.0},
params: map[string]any{"duration": 100},
},
}