Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Cloud
MAS
clonemap
Commits
45bb580b
Commit
45bb580b
authored
Feb 19, 2021
by
Stefan Dähling
Browse files
fix
parent
56afc30b
Pipeline
#413668
failed with stages
in 2 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pkg/ams/handler.go
View file @
45bb580b
...
...
@@ -472,9 +472,9 @@ func (ams *AMS) server(port int) (serv *http.Server) {
s
.
Path
(
"/clonemap/mas/{masid}/agencies"
)
.
Methods
(
"GET"
)
.
HandlerFunc
(
ams
.
handleGetAgencies
)
s
.
Path
(
"/clonemap/mas/{masid}/agencies"
)
.
Methods
(
"PUT"
,
"DELETE"
,
"POST"
)
.
HandlerFunc
(
ams
.
methodNotAllowed
)
s
.
Path
(
"/clonemap/mas/{masid}/imgroup/{imID}/agenc
ies
/{agency-id}"
)
.
Methods
(
"GET"
)
.
s
.
Path
(
"/clonemap/mas/{masid}/imgroup/{imID}/agenc
y
/{agency-id}"
)
.
Methods
(
"GET"
)
.
HandlerFunc
(
ams
.
handleGetAgencyID
)
s
.
Path
(
"/clonemap/mas/{masid}/imgroup/{imID}/agenc
ies
/{agency-id}"
)
.
s
.
Path
(
"/clonemap/mas/{masid}/imgroup/{imID}/agenc
y
/{agency-id}"
)
.
Methods
(
"PUT"
,
"DELETE"
,
"POST"
)
.
HandlerFunc
(
ams
.
methodNotAllowed
)
s
.
PathPrefix
(
""
)
.
HandlerFunc
(
ams
.
resourceNotFound
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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