|
|
@ -36,6 +36,7 @@ func NewService(dataStorePath, fileStorePath string) (*Service, error) {
|
|
|
|
|
|
|
|
|
|
|
|
// Checking if a mount directory exists is broken with Go on Windows.
|
|
|
|
// Checking if a mount directory exists is broken with Go on Windows.
|
|
|
|
// This will need to be reviewed after the issue has been fixed in Go.
|
|
|
|
// This will need to be reviewed after the issue has been fixed in Go.
|
|
|
|
|
|
|
|
// See: https://github.com/portainer/portainer/issues/474
|
|
|
|
// err := createDirectoryIfNotExist(dataStorePath, 0755)
|
|
|
|
// err := createDirectoryIfNotExist(dataStorePath, 0755)
|
|
|
|
// if err != nil {
|
|
|
|
// if err != nil {
|
|
|
|
// return nil, err
|
|
|
|
// return nil, err
|
|
|
|