Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Coscine
B
backend
apis
Project
Commits
bace1bb3
Commit
bace1bb3
authored
Aug 07, 2019
by
L. Ellenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing bucketname coscine/issues#209
parent
8bbdb542
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/Project/Controllers/DataSourceController.cs
src/Project/Controllers/DataSourceController.cs
+3
-3
No files found.
src/Project/Controllers/DataSourceController.cs
View file @
bace1bb3
...
...
@@ -78,7 +78,7 @@ namespace Coscine.Api.Project.Controllers
if
(
resource
.
Type
.
DisplayName
.
ToLower
()
==
"rds"
)
{
authHeader
=
BuildRdsAuthHeader
();
authHeader
=
BuildRdsAuthHeader
(
resource
.
ExternalId
);
}
else
if
(
resource
.
Type
.
DisplayName
.
ToLower
()
==
"gitlab"
)
{
...
...
@@ -131,7 +131,7 @@ namespace Coscine.Api.Project.Controllers
}
}
private
string
BuildRdsAuthHeader
()
private
string
BuildRdsAuthHeader
(
string
bucketname
)
{
var
auth
=
new
Dictionary
<
string
,
object
>();
...
...
@@ -143,7 +143,7 @@ namespace Coscine.Api.Project.Controllers
var
settings
=
new
Dictionary
<
string
,
object
>
{
{
"bucket"
,
"PITLABTTEST"
}
{
"bucket"
,
bucketname
}
};
var
data
=
new
Dictionary
<
string
,
object
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment