Delete unused NewConfig function

This commit is contained in:
Chris Bednarski
2015-08-31 20:01:04 -07:00
parent 7a5a11e97e
commit c57f0f4e8b

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]