diff --git a/ceph/ceph.go b/ceph/ceph.go index 1f9e4e9..1bd0a3a 100644 --- a/ceph/ceph.go +++ b/ceph/ceph.go @@ -23,5 +23,7 @@ func main() { log.Fatal("Cannot list pools") } - fmt.Printf("Pools: %v\n",poolnames) + for i,j := range poolnames { + fmt.Printf("%d %s",i,j) + } }