Use correct action type

This commit is contained in:
erthalion 2018-06-12 16:40:27 +02:00
parent 2b0ed1ab9f
commit 28f8bfc8ce
1 changed files with 1 additions and 2 deletions

View File

@ -385,9 +385,8 @@ func (c *Cluster) updateService(role PostgresRole, newService *v1.Service) ([]Ac
}, nil }, nil
} }
// update the service annotation in order to propagate ELB notation.
return []Action{ return []Action{
CreateService{ UpdateService{
ActionData{ ActionData{
namespace: serviceName.Namespace, namespace: serviceName.Namespace,
}, },