mirror of https://github.com/portainer/portainer
EE-4376 fix(docker): fix malformed struct of template (#7803)
parent
0365ed8e70
commit
1b12cc9f31
|
@ -23,7 +23,7 @@ type filePayload struct {
|
||||||
|
|
||||||
type fileResponse struct {
|
type fileResponse struct {
|
||||||
// The requested file content
|
// The requested file content
|
||||||
FileContent string `example: "version:2"`
|
FileContent string `example:"version:2"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (payload *filePayload) Validate(r *http.Request) error {
|
func (payload *filePayload) Validate(r *http.Request) error {
|
||||||
|
|
Loading…
Reference in New Issue