Skip to content

Commit

Permalink
require user_space field in memory spaces driver
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Oct 26, 2023
1 parent cf3f4f7 commit b49d6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/spaces/manager/memory/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type SpaceDescription struct {

type Config struct {
Spaces []SpaceDescription `mapstructure:"spaces"`
UserSpace string `mapstructure:"user_space"`
UserSpace string `mapstructure:"user_space" validate:"required"`
}

func (c *Config) ApplyDefaults() {
Expand Down

0 comments on commit b49d6b6

Please sign in to comment.