Browse Source

portable: set data-provider name to empty

Enes Çakır 5 năm trước cách đây
mục cha
commit
4f5c67e7df
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      service/service.go

+ 1 - 0
service/service.go

@@ -150,6 +150,7 @@ func (s *Service) StartPortableMode(sftpdPort int, enabledSSHCommands []string,
 	}
 	dataProviderConf := config.GetProviderConf()
 	dataProviderConf.Driver = dataprovider.MemoryDataProviderName
+	dataProviderConf.Name = ""
 	dataProviderConf.CredentialsPath = filepath.Join(os.TempDir(), "credentials")
 	config.SetProviderConf(dataProviderConf)
 	httpdConf := config.GetHTTPDConfig()