Merge pull request #420 from stevvooe/expose-drivernames
Expose storage driver names for tracing
This commit is contained in:
@@ -261,6 +261,10 @@ func New(params DriverParameters) (*Driver, error) {
|
||||
|
||||
// Implement the storagedriver.StorageDriver interface
|
||||
|
||||
func (d *driver) Name() string {
|
||||
return driverName
|
||||
}
|
||||
|
||||
// GetContent retrieves the content stored at "path" as a []byte.
|
||||
func (d *driver) GetContent(path string) ([]byte, error) {
|
||||
content, err := d.Bucket.Get(d.s3Path(path))
|
||||
|
Reference in New Issue
Block a user