We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b6156f commit 6f9ab04Copy full SHA for 6f9ab04
state/couchbase/couchbase.go
@@ -271,3 +271,10 @@ func (cbs *Couchbase) GetComponentMetadata() (metadataInfo metadata.MetadataMap)
271
metadata.GetMetadataInfoFromStructType(reflect.TypeOf(metadataStruct), &metadataInfo, metadata.StateStoreType)
272
return
273
}
274
+
275
+func (cbs *Couchbase) Close() error {
276
+ if cbs.bucket == nil {
277
+ return nil
278
+ }
279
+ return cbs.bucket.Close()
280
+}
0 commit comments