Skip to content

Commit

Permalink
fix: use string hash instead of whole name
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianKramm committed Dec 21, 2023
1 parent 712a513 commit 491b7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/devspace/services/podreplace/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ func replaceCommand(ctx devspacecontext.Context, devPod *latest.DevPod, devConta

// should we inject devspace restart helper?
if injectRestartHelper {
annotationName := restartHelperAnnotation + container.Name
annotationName := restartHelperAnnotation + hash.String(container.Name)
if podTemplate.Annotations == nil {
podTemplate.Annotations = map[string]string{}
}
Expand Down

0 comments on commit 491b7b4

Please sign in to comment.