mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
Fix function name in comment
Signed-off-by: pullmerge <watchmessi@outlook.com>
This commit is contained in:
parent
80af149b02
commit
21095c4573
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ var gocuiColorMap = map[string]gocui.Attribute{
|
||||||
"underline": gocui.AttrUnderline,
|
"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 {
|
func GetGocuiAttribute(key string) gocui.Attribute {
|
||||||
if utils.IsValidHexValue(key) {
|
if utils.IsValidHexValue(key) {
|
||||||
values := color.HEX(key).Values()
|
values := color.HEX(key).Values()
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ func getContainerDisplayStatus(guiConfig *config.GuiConfig, c *commands.Containe
|
||||||
return utils.ColoredString(containerState, getContainerColor(c))
|
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 {
|
func getContainerDisplaySubstatus(guiConfig *config.GuiConfig, c *commands.Container) string {
|
||||||
if !c.DetailsLoaded() {
|
if !c.DetailsLoaded() {
|
||||||
return ""
|
return ""
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue