1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

fix(templates): show correct icon for tempate [EE-5426] (#9202)

* show correct os icon for swarm stacks

* add compose edge stack doc comment
This commit is contained in:
Matt Hook 2023-07-13 14:22:53 +12:00 committed by GitHub
parent 2d94f020d0
commit 91cfd2d0f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 14 deletions

View file

@ -1120,7 +1120,7 @@ type (
// Mandatory container/stack fields
// Template Identifier
ID TemplateID `json:"Id" example:"1"`
// Template type. Valid values are: 1 (container), 2 (Swarm stack) or 3 (Compose stack)
// Template type. Valid values are: 1 (container), 2 (Swarm stack), 3 (Compose stack), 4 (Compose edge stack)
Type TemplateType `json:"type" example:"1"`
// Title of the template
Title string `json:"title" example:"Nginx"`