-
Notifications
You must be signed in to change notification settings - Fork 269
Remove old Shadow configuration options #1146
Copy link
Copy link
Closed
Labels
Component: MainComposing the core Shadow executableComposing the core Shadow executableType: MaintenanceRefactoring, cleanup, documenation, or process improvementsRefactoring, cleanup, documenation, or process improvements
Description
Some of the configuration options have new names:
kill->stoptimetime->starttime
Before Shadow v2.0, we should remove the old options.
shadow/src/main/core/support/configuration.c
Lines 567 to 571 in 551c65c
| static GError* _parser_handleKillAttributes(Parser* parser, const gchar** attributeNames, const gchar** attributeValues) { | |
| GError* error = NULL; | |
| /* TODO deprecate the kill element and this function | |
| * once we have some time with using stoptime in the shadow element */ |
shadow/src/main/core/support/configuration.c
Lines 641 to 642 in 551c65c
| } else if (!process->starttime.isSet && (!g_ascii_strcasecmp(name, "starttime") || | |
| !g_ascii_strcasecmp(name, "time"))) { /* TODO deprecate 'time' */ |
shadow/src/main/core/support/configuration.c
Line 784 in 551c65c
| /* TODO change stoptime to required after kill is deprecated */ |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: MainComposing the core Shadow executableComposing the core Shadow executableType: MaintenanceRefactoring, cleanup, documenation, or process improvementsRefactoring, cleanup, documenation, or process improvements