Skip to content

Commit

Permalink
fix(config): don't marshal server config
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Apr 7, 2022
1 parent edbcf6f commit db127f5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ import (

// Config is the Soft Serve configuration.
type Config struct {
Name string `yaml:"name"`
Host string `yaml:"host"`
Port int `yaml:"port"`
AnonAccess string `yaml:"anon-access"`
AllowKeyless bool `yaml:"allow-keyless"`
Users []User `yaml:"users"`
Repos []Repo `yaml:"repos"`
Source *git.RepoSource
Cfg *config.Config
Name string `yaml:"name"`
Host string `yaml:"host"`
Port int `yaml:"port"`
AnonAccess string `yaml:"anon-access"`
AllowKeyless bool `yaml:"allow-keyless"`
Users []User `yaml:"users"`
Repos []Repo `yaml:"repos"`
Source *git.RepoSource `yaml:"-"`
Cfg *config.Config `yaml:"-"`
mtx sync.Mutex
}

Expand Down

0 comments on commit db127f5

Please sign in to comment.