From 7a2641b36822173e8f34c278d16da29eec4d9f38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=91=D0=BE=D1=80=D0=BE=D0=B4?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sun, 24 May 2026 10:18:05 +0200 Subject: [PATCH 1/2] working commit --- cmd/mstorectl/accountcmd/updacc.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/mstorectl/accountcmd/updacc.go b/cmd/mstorectl/accountcmd/updacc.go index f49f886..3923c7f 100644 --- a/cmd/mstorectl/accountcmd/updacc.go +++ b/cmd/mstorectl/accountcmd/updacc.go @@ -12,7 +12,6 @@ import ( "github.com/spf13/cobra" "mstore/pkg/accntcli" - "mstore/pkg/descr" ) // UpdateAccount @@ -23,7 +22,6 @@ type UpdateAccountParams struct { NewPassword string } type UpdateAccountResult struct { - File *descr.File `json:"file,omitempty"` } func (util *AccountUtil) UpdateAccount(cmd *cobra.Command, args []string) { From d58fc5457470e922c1d6c0b8596c5669554e289a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=91=D0=BE=D1=80=D0=BE=D0=B4?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sun, 24 May 2026 11:14:33 +0200 Subject: [PATCH 2/2] fix --- app/config/config.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/config/config.go b/app/config/config.go index d8dcb24..076a5f3 100644 --- a/app/config/config.go +++ b/app/config/config.go @@ -39,11 +39,11 @@ type Config struct { Keypath string `json:"keypath,omitempty" yaml:"keypath,omitempty"` X509Cert string `json:"-" yaml:"-"` X509Key string `json:"-" yaml:"-"` - Datadir string `json:"datadir" yaml:datadir` - Hostname string `json:"hostname" yaml:hostname` - Hostnames []string `json:"hostnames" yaml:hostnames` - LogLimit int64 `json:"logLimit" yaml:logLimit` - RunUser string `json:"runUser" yaml:runUser` + Datadir string `json:"datadir" yaml:"datadir"` + Hostname string `json:"hostname" yaml:"hostname"` + Hostnames []string `json:"hostnames" yaml:"hostnames"` + LogLimit int64 `json:"logLimit" yaml:"logLimit"` + RunUser string `json:"runUser" yaml:"runUser"` } func NewConfig() *Config {