Skip to content

Commit

Permalink
removed STARS_ prefix for env var
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Jun 9, 2021
1 parent 6b8d3cd commit d079154
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,8 @@
// "AWS__Profile": "creodiasowner",
// "AWS__SignatureVersion": "2",
// "AWS__Region": "RegionOne"
"STARS_AWS__ServiceURL": "https://api.charter.uat.esaportal.eu",
"STARS_AWS__Profile": "minio"
"AWS__ServiceURL": "https://api.charter.uat.esaportal.eu",
"AWS__Profile": "minio"
},
"cwd": "${workspaceFolder}/src",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
Expand Down
2 changes: 1 addition & 1 deletion src/Stars.Console/Operations/BaseOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private ServiceCollection RegisterServices()
builder.AddNewtonsoftJsonFile("appsettings.Development.json", optional: true);
builder.AddUserSecrets<Program>();
}
builder.AddEnvironmentVariables("STARS_");
builder.AddEnvironmentVariables();

if (!string.IsNullOrEmpty(ConfigFile))
{
Expand Down
2 changes: 1 addition & 1 deletion src/Stars.Interface/Terradue.Stars.Interface.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.9" />
<PackageReference Include="DotNetStac" Version="1.0.0.1"/>
<PackageReference Include="DotNetStac" Version="1.0.0.1" />
</ItemGroup>
<ItemGroup>
<!-- <ProjectReference Include="../../../../sugar/DotNetStac/src/DotNetStac/DotNetStac.csproj" /> -->
Expand Down

0 comments on commit d079154

Please sign in to comment.