mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2024-10-06 01:17:33 +03:00
Merge 21095c4573
into 06ab7b77b1
This commit is contained in:
commit
784e1a0ff0
@ -21,7 +21,7 @@ var gocuiColorMap = map[string]gocui.Attribute{
|
||||
"underline": gocui.AttrUnderline,
|
||||
}
|
||||
|
||||
// GetAttribute gets the gocui color attribute from the string
|
||||
// GetGocuiAttribute gets the gocui color attribute from the string
|
||||
func GetGocuiAttribute(key string) gocui.Attribute {
|
||||
if utils.IsValidHexValue(key) {
|
||||
values := color.HEX(key).Values()
|
||||
|
@ -89,7 +89,7 @@ func getContainerDisplayStatus(guiConfig *config.GuiConfig, c *commands.Containe
|
||||
return utils.ColoredString(containerState, getContainerColor(c))
|
||||
}
|
||||
|
||||
// GetDisplayStatus returns the exit code if the container has exited, and the health status if the container is running (and has a health check)
|
||||
// getContainerDisplaySubstatus returns the exit code if the container has exited, and the health status if the container is running (and has a health check)
|
||||
func getContainerDisplaySubstatus(guiConfig *config.GuiConfig, c *commands.Container) string {
|
||||
if !c.DetailsLoaded() {
|
||||
return ""
|
||||
|
Loading…
Reference in New Issue
Block a user