mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
Delete unused NewConfig function
This commit is contained in:
@@ -48,14 +48,6 @@ type Config struct {
|
||||
Options map[string]string
|
||||
}
|
||||
|
||||
func NewConfig() Config {
|
||||
config := Config{
|
||||
Node: &structs.Node{},
|
||||
Options: map[string]string{},
|
||||
}
|
||||
return config
|
||||
}
|
||||
|
||||
// Read returns the specified configuration value or "".
|
||||
func (c *Config) Read(id string) string {
|
||||
val, ok := c.Options[id]
|
||||
|
||||
Reference in New Issue
Block a user