]> git.ipfire.org Git - collecty.git/commitdiff
module: The step size is not passed as a command line argument
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Sep 2025 09:54:24 +0000 (09:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Sep 2025 09:54:24 +0000 (09:54 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/module.c

index cabb5322c442b8f1b925e5a213368b2181a4b312..d3c950fc23c9ebdc6286a67daac93b5c6d836844 100644 (file)
@@ -286,11 +286,6 @@ static int collecty_module_create_database(collecty_module* self, const char* pa
        if (r < 0)
                goto ERROR;
 
-       // Add the step size
-       r = collecty_args_push(args, "--step=%d", STEPSIZE);
-       if (r < 0)
-               goto ERROR;
-
        // Add all data sources
        for (const collecty_rrd_ds* ds = self->methods->rrd_dss; ds->field; ds++) {
                // Format the minimum value