We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f918ddd commit 5950e87Copy full SHA for 5950e87
1 file changed
sandbox/container.go
@@ -185,9 +185,8 @@ func (c *ContainerSandbox) HotSwap(ctx context.Context) error {
185
}
186
187
func (c *ContainerSandbox) containerName() string {
188
- base := filepath.Base(c.projectDir)
189
hash := sha256.Sum256([]byte(c.projectDir))
190
- return fmt.Sprintf("hawk-%s-%x", base, hash[:4])
+ return fmt.Sprintf("hawk-%x", hash[:4])
191
192
193
// ContainerImageTag is set at build time via ldflags. Falls back to "latest".
0 commit comments