From ab8a05ede0bad08f6f340e92817097c48c5e9716 Mon Sep 17 00:00:00 2001 From: boyamurthy <92081029+boyamurthy@users.noreply.github.com> Date: Tue, 23 Aug 2022 23:29:27 +0530 Subject: [PATCH] Update node.go --- service/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/node.go b/service/node.go index a4fd7806..f73e5e9c 100644 --- a/service/node.go +++ b/service/node.go @@ -1963,7 +1963,7 @@ func (s *service) NodeExpandVolume( log.Infof("Found %s filesystem mounted on volume %s", fsType, devMnt.MountPoint) //Resize the filesystem - err = gofsutil.ResizeFS(context.Background(), devMnt.MountPoint, devicePath, devMnt.MPathName, fsType) + err = gofsutil.ResizeFS(context.Background(), devMnt.MountPoint, devicePath, devMnt.PPathName, devMnt.MPathName, fsType) if err != nil { log.Errorf("Failed to resize filesystem: mountpoint (%s) device (%s) with error (%s)", devMnt.MountPoint, devicePath, err.Error())