Skip to content

Commit

Permalink
Adding workaround for issue #9727
Browse files Browse the repository at this point in the history
  • Loading branch information
casusbelli committed Sep 12, 2018
1 parent 7be192a commit f7748d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions quobyte_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"path/filepath"
"strings"
"sync"
"time"

"github.com/docker/go-plugins-helpers/volume"
quobyte_api "github.com/quobyte/api"
Expand Down Expand Up @@ -91,6 +92,9 @@ func (driver quobyteDriver) checkMountPoint(mPoint string) error {
// we expected ErrExist, everything else is an error
return mkdErr
}
// NOTE(kaisers): Workaround for issue #9727, remove when #9628 has been implemented
time.Sleep(1 * time.Second)

// Verify volume is available
_, statErr := os.Stat(mPoint)
if statErr != nil {
Expand Down

0 comments on commit f7748d9

Please sign in to comment.