mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
commit
1ff2198c0a
3 changed files with 4 additions and 4 deletions
|
|
@ -294,7 +294,7 @@ func (c *Container) GetColor() color.Attribute {
|
|||
switch c.Container.State {
|
||||
case "exited":
|
||||
if c.Details.State.ExitCode == 0 {
|
||||
return color.FgBlue
|
||||
return color.FgYellow
|
||||
}
|
||||
return color.FgRed
|
||||
case "created":
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ func (l *Layer) GetDisplayStrings(isFocused bool) []string {
|
|||
}
|
||||
idColor := color.FgWhite
|
||||
if id == "<missing>" {
|
||||
idColor = color.FgBlack
|
||||
idColor = color.FgBlue
|
||||
}
|
||||
|
||||
dockerFileCommandPrefix := "/bin/sh -c #(nop) "
|
||||
|
|
@ -73,7 +73,7 @@ func (l *Layer) GetDisplayStrings(isFocused bool) []string {
|
|||
size := utils.FormatBinaryBytes(int(l.Size))
|
||||
sizeColor := color.FgWhite
|
||||
if size == "0B" {
|
||||
sizeColor = color.FgBlack
|
||||
sizeColor = color.FgBlue
|
||||
}
|
||||
|
||||
return []string{
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ type Service struct {
|
|||
func (s *Service) GetDisplayStrings(isFocused bool) []string {
|
||||
|
||||
if s.Container == nil {
|
||||
return []string{utils.ColoredString("none", color.FgBlack), s.Name, ""}
|
||||
return []string{utils.ColoredString("none", color.FgBlue), s.Name, ""}
|
||||
}
|
||||
|
||||
cont := s.Container
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue