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
643d6b83
Commit
643d6b83
authored
Feb 19, 2021
by
Stefan Dähling
Browse files
fix
parent
45bb580b
Pipeline
#413670
passed with stages
in 4 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pkg/ams/handler.go
View file @
643d6b83
...
...
@@ -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/{im
ID
}/agency/{agency
-
id}"
)
.
Methods
(
"GET"
)
.
s
.
Path
(
"/clonemap/mas/{masid}/imgroup/{im
id
}/agency/{agencyid}"
)
.
Methods
(
"GET"
)
.
HandlerFunc
(
ams
.
handleGetAgencyID
)
s
.
Path
(
"/clonemap/mas/{masid}/imgroup/{im
ID
}/agency/{agency
-
id}"
)
.
s
.
Path
(
"/clonemap/mas/{masid}/imgroup/{im
id
}/agency/{agencyid}"
)
.
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