MSP-5014 Refactor utils

This commit is contained in:
Синельник Тимур Романович committed 2025-03-24 11:30:39 +03:00
1 parent 7c01299e53
commit 8c49ae85ed
10 files changed
+44 -60

No files matched your search

+2 -2
View File
@@ -58,7 +58,7 @@ func (c Set) action(ctx *cli.Context) error {
}
if pathObject == "" {
return utils.CreateUpdateConfig(changeObject, config, c.service)
return CreateUpdateConfig(changeObject, config, c.service)
}
jsonObject, err := json.Marshal(config.Data)
if err != nil {
@@ -70,5 +70,5 @@ func (c Set) action(ctx *cli.Context) error {
if err != nil {
return err
}
return utils.CreateUpdateConfig(stringToChange, config, c.service)
return CreateUpdateConfig(stringToChange, config, c.service)
}