From 3c9a2a9bac4b42d16ca8095f217cc5dda8da8bfb Mon Sep 17 00:00:00 2001 From: Vincent Giersch Date: Mon, 1 Jun 2015 09:57:40 +0000 Subject: [PATCH] Fix rados build, remove uuid dependency Signed-off-by: Vincent Giersch --- registry/storage/driver/rados/rados.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry/storage/driver/rados/rados.go b/registry/storage/driver/rados/rados.go index 999b06b0..9bac8fc3 100644 --- a/registry/storage/driver/rados/rados.go +++ b/registry/storage/driver/rados/rados.go @@ -9,12 +9,12 @@ import ( "path" "strconv" - "code.google.com/p/go-uuid/uuid" log "github.com/Sirupsen/logrus" "github.com/docker/distribution/context" storagedriver "github.com/docker/distribution/registry/storage/driver" "github.com/docker/distribution/registry/storage/driver/base" "github.com/docker/distribution/registry/storage/driver/factory" + "github.com/docker/distribution/uuid" "github.com/noahdesu/go-ceph/rados" ) @@ -497,7 +497,7 @@ func (d *driver) URLFor(ctx context.Context, path string, options map[string]int // Generate a blob identifier func (d *driver) generateOid() string { - return objectBlobPrefix + uuid.New() + return objectBlobPrefix + uuid.Generate().String() } // Reference a object and its hierarchy