Browse Source

avoid error when missing configuration file

pull/2/head
Chris Lu 12 years ago
parent
commit
2d4a7ac9f9
  1. 2
      go/topology/topology.go

2
go/topology/topology.go

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

Loading…
Cancel
Save