Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zhao <[email protected]>
  • Loading branch information
PetrusZ committed Feb 8, 2025
1 parent 84343fa commit fe0aca4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pkg/microservice/aslan/core/common/service/helm/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,8 @@ func (s *HelmDeployService) GenNewEnvService(prod *commonmodels.Product, service
Containers: tmplSvc.Containers,
}
} else {
prodSvc.Revision = tmplSvc.Revision

containerMap := make(map[string]*commonmodels.Container)
for _, container := range prodSvc.Containers {
containerMap[container.Name] = container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ func (c *HelmDeployJobCtl) Run(ctx context.Context) {

c.ack()

c.logger.Infof("start helm deploy, productName %s serviceName %s namespace %s, values %s, overrideKVs: %s updateServiceRevision %v",
c.workflowCtx.ProjectName, c.jobTaskSpec.ServiceName, c.namespace, finalValuesYaml, newEnvService.GetServiceRender().OverrideValues, updateServiceRevision)
c.logger.Infof("start helm deploy, productName %s serviceName %s namespace %s, values %s, overrideKVs: %s updateServiceRevision %v, revision %d",
c.workflowCtx.ProjectName, c.jobTaskSpec.ServiceName, c.namespace, finalValuesYaml, newEnvService.GetServiceRender().OverrideValues, updateServiceRevision, newEnvService.Revision)

timeOut := c.timeout()

Expand Down

0 comments on commit fe0aca4

Please sign in to comment.