mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-18 05:19:19 +08:00
fix: Fix uppercase exclusion in container compose (#11080)
This commit is contained in:
parent
a6875614f6
commit
8086d5cecb
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ func (u *ContainerService) CreateCompose(req dto.ComposeCreate) error {
|
|||
_, _ = compose.Down(req.Path)
|
||||
return err
|
||||
}
|
||||
_ = composeRepo.CreateRecord(&model.Compose{Name: req.Name, Path: req.Path})
|
||||
_ = composeRepo.CreateRecord(&model.Compose{Name: strings.ToLower(req.Name), Path: req.Path})
|
||||
return nil
|
||||
}, nil)
|
||||
_ = taskItem.Execute()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue