avoid error when missing configuration file

This commit is contained in:
Chris Lu 2013-03-19 10:35:13 -07:00
parent 018df9ceb0
commit 2d4a7ac9f9

View file

@ -54,6 +54,8 @@ func (t *Topology) loadConfiguration(configurationFile string) error {
if e == nil {
t.configuration, e = NewConfiguration(b)
return e
}else{
log.Println("Using default configurations.")
}
return nil
}