We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29e63f2 commit b6e93a8Copy full SHA for b6e93a8
pkg/mounter/geesefs.go
@@ -185,8 +185,8 @@ func (geesefs *geesefsMounter) Mount(target, volumeID string) error {
185
volumeID, target, curPath,
186
)
187
}
188
- // Already mounted at right location
189
- return nil
+ // Already mounted at right location, wait for mount
+ return waitForMount(target, 30*time.Second)
190
} else {
191
// Stop and garbage collect the unit if automatic collection didn't work for some reason
192
conn.StopUnit(unitName, "replace", nil)
@@ -211,5 +211,5 @@ func (geesefs *geesefsMounter) Mount(target, volumeID string) error {
211
if err != nil {
212
return fmt.Errorf("Error starting systemd unit %s on host: %v", unitName, err)
213
214
- return waitForMount(target, 10*time.Second)
215
0 commit comments