Skip to content

Commit

Permalink
Add validation flags to engine during live upgrade
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Weber <eric.weber@suse.com>
  • Loading branch information
ejweber committed Jul 25, 2023
1 parent fdb4215 commit d3316e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engineapi/instance_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,10 @@ func (c *InstanceManagerClient) engineInstanceUpgrade(req *EngineInstanceUpgrade
}
}

if req.EngineCLIAPIVersion >= 9 {
args = append([]string{"--engine-instance-name", req.Engine.Name}, args...)
}

binary := filepath.Join(types.GetEngineBinaryDirectoryForEngineManagerContainer(req.Engine.Spec.EngineImage), types.EngineBinaryName)

if c.GetAPIVersion() < 4 {
Expand Down

0 comments on commit d3316e3

Please sign in to comment.