sdf
This commit is contained in:
parent
b3cc7b82a1
commit
25bae7a7e1
|
|
@ -7,7 +7,8 @@ import (
|
||||||
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
connection,err := rados.NewConnWithClusterAndUser("ceph","client.admin")
|
params := params{"ceph","admin"}
|
||||||
|
connection,err := rados.NewConnWithClusterAndUser(params.cluster,params.user)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "time"
|
|
||||||
|
|
||||||
const config = "/etc/ceph/ceph.conf"
|
const config = "/etc/ceph/ceph.conf"
|
||||||
|
|
||||||
type params struct {
|
type params struct {
|
||||||
duration time.Duration
|
cluster string
|
||||||
blockSize uint64
|
user string
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user