MSP-5014 CheckGlobal to ApplyGlobalFlags

This commit is contained in:
Синельник Тимур Романович committed 2025-03-20 18:21:56 +03:00
1 parent ff2922cf1e
commit 0005f1ac0c
9 files changed
+39 -31

No files matched your search

+2 -4
View File
@@ -25,10 +25,8 @@ var (
SetVariableSecretType = &cli.BoolFlag{Name: secretVariableName, Usage: secretVariableUsage}
)
func CheckGlobal(c *cli.Context) error {
var (
host string
)
func ApplyGlobalFlags(c *cli.Context) error {
var host string
service.Config.UnsafeEnable = c.Bool(Unsafe.Name)
host = c.String(Host.Name)