diff --git a/README.md b/README.md index 82c8ba7..1a5aea8 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![Build Status](https://travis-ci.org/Difrex/rbmd.svg?branch=master)](https://travis-ci.org/Difrex/rbmd) +![logo](/img/logo.png) + RBD mount wrapper cluster **ALLOW FOR STAGING** diff --git a/rbmd/sys.go b/rbmd/sys.go index c2276d5..aaa3536 100644 --- a/rbmd/sys.go +++ b/rbmd/sys.go @@ -188,7 +188,7 @@ func (r RBDDevice) MapDevice() ([]byte, error) { o := stdout.String() if strings.HasSuffix(o, "\n") { - o = o[:len(o)-1] + o = o[:len(o)-2] } return []byte(o), nil diff --git a/rbmd/version.go b/rbmd/version.go index c85f975..a49edee 100644 --- a/rbmd/version.go +++ b/rbmd/version.go @@ -8,6 +8,6 @@ import ( //VersionShow show version and exit func VersionShow() { - fmt.Println("RBMD 0.1", runtime.Version(), runtime.GOARCH) + fmt.Println("RBMD 0.2 test", runtime.Version(), runtime.GOARCH) os.Exit(1) }