Skip to content

Commit

Permalink
Add missing argument in SupportsBlock() in provisioner.go
Browse files Browse the repository at this point in the history
Signed-off-by: Niladri Halder <niladri.halder@mayadata.io>
  • Loading branch information
niladrih authored and kmova committed Aug 16, 2021
1 parent 744bba4 commit 46ac0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/provisioner-localpv/app/provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func NewProvisioner(kubeClient *clientset.Clientset) (*Provisioner, error) {

// SupportsBlock will be used by controller to determine if block mode is
// supported by the host path provisioner.
func (p *Provisioner) SupportsBlock() bool {
func (p *Provisioner) SupportsBlock(ctx context.Context) bool {
return true
}

Expand Down

0 comments on commit 46ac0ac

Please sign in to comment.