1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

Fixed various typos. (#378)

This commit is contained in:
SoulSeekkor
2018-10-18 10:41:49 -05:00
committed by Kyle Spearrin
parent 45a77c8903
commit 976869c968
4 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ namespace Bit.Setup
Console.WriteLine("No existing `config.yml` detected. Let's generate one.");
// Looks like updating from older version. Try to create config file.
var url = Helpers.GetValueFronEnvFile("global", "globalSettings__baseServiceUri__vault");
var url = Helpers.GetValueFromEnvFile("global", "globalSettings__baseServiceUri__vault");
if(!Uri.TryCreate(url, UriKind.Absolute, out var uri))
{
Console.WriteLine("Unable to determine existing installation url.");
@ -34,7 +34,7 @@ namespace Bit.Setup
}
Config.Url = url;
var push = Helpers.GetValueFronEnvFile("global", "globalSettings__pushRelayBaseUri");
var push = Helpers.GetValueFromEnvFile("global", "globalSettings__pushRelayBaseUri");
Config.PushNotifications = push != "REPLACE";
var composeFile = "/bitwarden/docker/docker-compose.yml";

View File

@ -111,7 +111,7 @@ namespace Bit.Setup
return builder.ConnectionString;
}
public static string GetValueFronEnvFile(string envFile, string key)
public static string GetValueFromEnvFile(string envFile, string key)
{
if(!File.Exists($"/bitwarden/env/{envFile}.override.env"))
{

View File

@ -146,7 +146,7 @@ namespace Bit.Setup
{
Console.WriteLine("Migrating database.");
var dbPass = Helpers.GetValueFronEnvFile("mssql", "SA_PASSWORD");
var dbPass = Helpers.GetValueFromEnvFile("mssql", "SA_PASSWORD");
var masterConnectionString = Helpers.MakeSqlConnectionString(
"mssql", "master", "sa", dbPass ?? string.Empty);
var vaultConnectionString = Helpers.MakeSqlConnectionString(