Page MenuHomeVyOS Platform

set_level incorrectly handles path given as empty string
Closed, ResolvedPublicBUG

Description

T1758 introduced a bug in the handling of empty strings when calling set_level; consequently the construction

config.set_level('')

gives incorrect behavior.

Details

Difficulty level
Easy (less than an hour)
Version
vyos-1.2-rolling-201912040217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)