From 75625bdbdbc843078652a2eeac3ea22d2f5d8389 Mon Sep 17 00:00:00 2001 From: timansky Date: Tue, 28 Jan 2025 05:10:45 +0500 Subject: [PATCH] return path in map_volume (#37) --- PureStoragePlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PureStoragePlugin.pm b/PureStoragePlugin.pm index f81940e..bb51b10 100644 --- a/PureStoragePlugin.pm +++ b/PureStoragePlugin.pm @@ -895,7 +895,7 @@ sub map_volume { print "Info :: Waiting (" . $iteration . "s) for map volume \"$volname\"...\n"; $iteration++; if ( -e $path ) { - return 1; + return $path; } sleep $interval; }