Skip to content

Commit

Permalink
remove image required (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
chensheng0 authored Mar 5, 2021
1 parent 788f42b commit 3201af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/v1/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type Service struct {
// specifies the hostname of the service
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
// specifies the image of the service, usually using the Docker image name
Image string `json:"image,omitempty" yaml:"image,omitempty" binding:"required"`
Image string `json:"image,omitempty" yaml:"image,omitempty"`
// specifies the number of instances started
Replica int `json:"replica,omitempty" yaml:"replica,omitempty" binding:"required" default:"1"`
// specifies the storage volumes that the service needs, map the storage volume to the directory in the container
Expand Down

0 comments on commit 3201af0

Please sign in to comment.