volume: use contextual logging
This commit is contained in:
@@ -213,7 +213,7 @@ type DeletableVolumePlugin interface {
|
||||
// NewDeleter creates a new volume.Deleter which knows how to delete this
|
||||
// resource in accordance with the underlying storage provider after the
|
||||
// volume's release from a claim
|
||||
NewDeleter(spec *Spec) (Deleter, error)
|
||||
NewDeleter(logger klog.Logger, spec *Spec) (Deleter, error)
|
||||
}
|
||||
|
||||
// ProvisionableVolumePlugin is an extended interface of VolumePlugin and is
|
||||
@@ -223,7 +223,7 @@ type ProvisionableVolumePlugin interface {
|
||||
// NewProvisioner creates a new volume.Provisioner which knows how to
|
||||
// create PersistentVolumes in accordance with the plugin's underlying
|
||||
// storage provider
|
||||
NewProvisioner(options VolumeOptions) (Provisioner, error)
|
||||
NewProvisioner(logger klog.Logger, options VolumeOptions) (Provisioner, error)
|
||||
}
|
||||
|
||||
// AttachableVolumePlugin is an extended interface of VolumePlugin and is used for volumes that require attachment
|
||||
|
Reference in New Issue
Block a user