Fix SSL on Kubernetes
This commit is contained in:
parent
0d16c117cb
commit
68eea939a3
8 changed files with 194 additions and 57 deletions
|
|
@ -31,8 +31,8 @@ class Functions:
|
|||
Functions.ERROR: 4,
|
||||
Functions.FATAL: 5
|
||||
}
|
||||
level_required = 0 if level not in level_importance else level_importance[level]
|
||||
level_asked = 0 if log_level_str.upper() not in level_importance else level_importance[log_level_str.upper()]
|
||||
level_required = 1 if level not in level_importance else level_importance[level]
|
||||
level_asked = 1 if log_level_str.upper() not in level_importance else level_importance[log_level_str.upper()]
|
||||
return level_asked < level_required
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue