JIRA: BOTTLENECK-115
This patch change an error that last patch haven't covered.
so i need to correct it.
Change-Id: I1ab1fbe4e60463482728ec3ab58ec71c4e1d7049
Signed-off-by: liyin <liyin11@huawei.com>
     "defaultIndex": "bottlenecks"
 }
 res = es.index(index=".kibana",doc_type="config",id="4.6.1",body=doc)
-print(res['created'])
+
+if res['created']=="True":
+        print("bottlenecks config has created")
+else:
+        print("bottlenecks config has existed")
+
 doc={
 "title": "system_bandwidth",
     "description": "",