Skip to content
Snippets Groups Projects
Commit 2ea3ce4f authored by Rémi Palancher's avatar Rémi Palancher Committed by Morris Jette
Browse files

Added a partition field in Lua job submit plugin

Added default_time field in partition records in Lua job submit
plugin.
parent 64f29ea6
No related branches found
No related tags found
No related merge requests found
......@@ -536,6 +536,8 @@ static int _get_part_rec_field (lua_State *L)
if (part_ptr == NULL) {
error("_get_part_field: part_ptr is NULL");
lua_pushnil (L);
} else if (!strcmp(name, "default_time")) {
lua_pushnumber (L, part_ptr->default_time);
} else if (!strcmp(name, "flag_default")) {
int is_default = 0;
if (part_ptr->flags & PART_FLAG_DEFAULT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment