Format using nodeserver, not controller
This commit is contained in:
parent
f8bd74afb9
commit
1fe218a568
2 changed files with 3 additions and 8 deletions
pkg/s3
|
@ -82,6 +82,9 @@ func (ns *nodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := mounter.Format(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := mounter.Mount(targetPath); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue