chore: delete dead code

hocon schema validator never validates 'undefined'
This commit is contained in:
zmstone 2024-03-26 13:20:48 +01:00
parent df913f2450
commit b1c9bb63d7
1 changed files with 0 additions and 2 deletions

View File

@ -1748,8 +1748,6 @@ fields("client_attrs_init") ->
})} })}
]. ].
restricted_string(undefined) ->
undefined;
restricted_string(Str) -> restricted_string(Str) ->
case emqx_utils:is_restricted_str(Str) of case emqx_utils:is_restricted_str(Str) of
true -> ok; true -> ok;