Merge branch 'master' of git.unix7.org:ziggi/mstore

This commit is contained in:
2026-06-16 07:39:44 +02:00
2 changed files with 5 additions and 7 deletions
+5 -5
View File
@@ -39,11 +39,11 @@ type Config struct {
Keypath string `json:"keypath,omitempty" yaml:"keypath,omitempty"` Keypath string `json:"keypath,omitempty" yaml:"keypath,omitempty"`
X509Cert string `json:"-" yaml:"-"` X509Cert string `json:"-" yaml:"-"`
X509Key string `json:"-" yaml:"-"` X509Key string `json:"-" yaml:"-"`
Datadir string `json:"datadir" yaml:datadir` Datadir string `json:"datadir" yaml:"datadir"`
Hostname string `json:"hostname" yaml:hostname` Hostname string `json:"hostname" yaml:"hostname"`
Hostnames []string `json:"hostnames" yaml:hostnames` Hostnames []string `json:"hostnames" yaml:"hostnames"`
LogLimit int64 `json:"logLimit" yaml:logLimit` LogLimit int64 `json:"logLimit" yaml:"logLimit"`
RunUser string `json:"runUser" yaml:runUser` RunUser string `json:"runUser" yaml:"runUser"`
} }
func NewConfig() *Config { func NewConfig() *Config {
-2
View File
@@ -12,7 +12,6 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"mstore/pkg/accntcli" "mstore/pkg/accntcli"
"mstore/pkg/descr"
) )
// UpdateAccount // UpdateAccount
@@ -23,7 +22,6 @@ type UpdateAccountParams struct {
NewPassword string NewPassword string
} }
type UpdateAccountResult struct { type UpdateAccountResult struct {
File *descr.File `json:"file,omitempty"`
} }
func (util *AccountUtil) UpdateAccount(cmd *cobra.Command, args []string) { func (util *AccountUtil) UpdateAccount(cmd *cobra.Command, args []string) {