From 2d4a7ac9f9ada2d595e18965d0b6d3908078455c Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 19 Mar 2013 10:35:13 -0700 Subject: [PATCH] avoid error when missing configuration file --- go/topology/topology.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go/topology/topology.go b/go/topology/topology.go index 6f18a73ee..c9b6096de 100644 --- a/go/topology/topology.go +++ b/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 }