mirror of
https://github.com/amir20/dozzle.git
synced 2026-08-07 11:34:43 +00:00
feat: host grouping with bug fixes and hardening (#4662)
Co-authored-by: Mikhail Gorbachev <31391617+nomah4@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -94,6 +94,11 @@ func FromProto(c *pb.Container) Container {
|
||||
labels = make(map[string]string)
|
||||
}
|
||||
|
||||
env := c.Env
|
||||
if env == nil {
|
||||
env = []string{}
|
||||
}
|
||||
|
||||
return Container{
|
||||
ID: c.Id,
|
||||
Name: c.Name,
|
||||
@@ -112,7 +117,7 @@ func FromProto(c *pb.Container) Container {
|
||||
MemoryLimit: c.MemoryLimit,
|
||||
CPULimit: c.CpuLimit,
|
||||
FullyLoaded: c.FullyLoaded,
|
||||
Env: c.Env,
|
||||
Env: env,
|
||||
Ports: c.Ports,
|
||||
Mounts: c.Mounts,
|
||||
RestartPolicy: c.RestartPolicy,
|
||||
|
||||
Reference in New Issue
Block a user