Delete unused NewConfig function

This commit is contained in:
Chris Bednarski 2015-08-31 20:01:04 -07:00
parent d9d78d6b2c
commit 2e5a080354

View file

@ -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]