mirror of
https://github.com/minio/minio.git
synced 2025-01-23 12:43:16 -05:00
Merge pull request #903 from technosophos/fix/902-missing-dot-minio
During auth generation, create directory if it does not exist.
This commit is contained in:
commit
189188fdf3
@ -115,6 +115,9 @@ func genAuthFirstTime() (*AuthConfig, *probe.Error) {
|
||||
if isAuthConfigFileExists() {
|
||||
return nil, nil
|
||||
}
|
||||
if err := createAuthConfigPath(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// Initialize new config, since config file doesn't exist yet
|
||||
config := &AuthConfig{}
|
||||
config.Version = "0.0.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user