Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
g5k-api
Commits
36fd226e
Commit
36fd226e
authored
Oct 12, 2020
by
Alexandre MERLIN
Browse files
Merge branch 'add_storage_endpoint' into 'master'
Add storage endpoint See merge request
!79
parents
786977ee
8dfa146f
Pipeline
#176640
waiting for manual action with stages
in 21 minutes and 36 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/controllers/sites_controller.rb
View file @
36fd226e
...
...
@@ -75,7 +75,7 @@ class SitesController < ResourcesController
def
links_for_item
(
item
)
links
=
super
(
item
)
%w[jobs deployments vlans metrics]
.
each
do
|
rel
|
%w[jobs deployments vlans metrics
storage
]
.
each
do
|
rel
|
links
.
push
({
'rel'
=>
rel
,
'type'
=>
api_media_type
(
:g5kcollectionjson
),
...
...
spec/controllers/sites_controller_spec.rb
View file @
36fd226e
...
...
@@ -72,6 +72,7 @@ describe SitesController do
self
servers
status
storage
version
versions
vlans
...
...
Write
Preview
Supports
Markdown
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