Skip to content

Commit

Permalink
The bucket type for a couchbase bucket is set as "membase"
Browse files Browse the repository at this point in the history
This was done on the server for backwards compatibility reasons.

Change-Id: I7f609da1625ba3234b228b4fa4042cf2c10d205c
Reviewed-on: http://review.couchbase.org/56108
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
  • Loading branch information
mikewied authored and brett19 committed Oct 29, 2015
1 parent 8a9d4a5 commit 288f7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clustermgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func bucketDataInToSettings(bucketData *bucketDataIn) *BucketSettings {
Quota: bucketData.Quota.Ram,
Replicas: bucketData.ReplicaNumber,
}
if bucketData.BucketType == "couchbase" {
if bucketData.BucketType == "membase" {
settings.Type = Couchbase
} else if bucketData.BucketType == "memcached" {
settings.Type = Memcached
Expand Down

0 comments on commit 288f7b9

Please sign in to comment.