mirror of
https://github.com/MengMengCode/CLICD.git
synced 2026-08-05 05:36:07 +08:00
fix Dependabot alerts
This commit is contained in:
@@ -438,7 +438,7 @@ func subUserAssignedContainers(su *config.SubUser) []*config.Container {
|
||||
if su == nil {
|
||||
return nil
|
||||
}
|
||||
result := make([]*config.Container, 0, len(su.ContainerUUIDs)+len(su.ContainerNames))
|
||||
result := []*config.Container{}
|
||||
seen := map[string]bool{}
|
||||
for _, uuid := range su.ContainerUUIDs {
|
||||
if c := config.FindContainerByUUID(uuid); c != nil {
|
||||
|
||||
Reference in New Issue
Block a user