Skip to content
Snippets Groups Projects
Commit ea1e9192 authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy
Browse files

swim: fix inability to set generation only

swim.new() is declared as allowed to be called before swim:cfg().
But in fact swim.new({generation = ...}) didn't work because
after generation extraction the empty config {} was passed to
swim:cfg() and led to an error.

The patch allows to call swim.new() with generation only, as well
as without parameters at all.

Follow up #4280
parent 98f29645
No related branches found
No related tags found
No related merge requests found
Loading
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