Remove unused function

Add user initialization since it's required for secrets
This commit is contained in:
erthalion 2018-09-14 11:46:45 +02:00
parent e588fddde3
commit 65c49e0252
1 changed files with 5 additions and 4 deletions

View File

@ -200,11 +200,12 @@ func (c *Cluster) initUsers() error {
return nil
}
func CreateSecrets() []Action {
return nil
}
func (c *Cluster) PlanForCreate() (plan []Action) {
if err := c.initUsers(); err != nil {
c.logger.Errorf("Cannot init users: %v", err)
return NoActions
}
plan = append(plan, c.PlanForSecrets()...)
return plan
}