From 768aba06cfbfedce72bfc56545c1f7cf77c35877 Mon Sep 17 00:00:00 2001 From: wangzhezhe Date: Mon, 4 Jan 2016 13:49:26 +0800 Subject: [PATCH] replace panic with fmt --- storage/elasticsearch/elasticsearch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/elasticsearch/elasticsearch.go b/storage/elasticsearch/elasticsearch.go index c5169a15..b43beed2 100644 --- a/storage/elasticsearch/elasticsearch.go +++ b/storage/elasticsearch/elasticsearch.go @@ -103,7 +103,7 @@ func (self *elasticStorage) AddStats(ref info.ContainerReference, stats *info.Co Do() if err != nil { // Handle error - fmt.Errorf("failed to write stats to ElasticSearch - %s", err) + fmt.Printf("failed to write stats to ElasticSearch - %s", err) return } }()