Commit 995f8048 authored by ale's avatar ale

Represent num_instances as a string to handle 'all' value

parent e1018f91
Pipeline #4120 failed with stages
in 36 seconds
......@@ -79,7 +79,7 @@ func (c *Container) SystemdServiceName(s *Service) string {
type Service struct {
Name string
NumInstances int `yaml:"num_instances,omitempty"`
NumInstances string `yaml:"num_instances,omitempty"`
SchedulingGroup string `yaml:"scheduling_group"`
MasterElection bool `yaml:"master_election,omitempty"`
MasterSchedulingGroup string `yaml:"master_scheduling_group,omitempty"`
......@@ -3,7 +3,7 @@
<h1>{{$domain}} services</h1>
<table class="table">
<table class="table table-striped">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment