From 21095c4573de21993980d290af889ad576cf682d Mon Sep 17 00:00:00 2001 From: pullmerge Date: Sun, 14 Apr 2024 10:48:54 +0800 Subject: [PATCH] Fix function name in comment Signed-off-by: pullmerge --- pkg/gui/gocui.go | 2 +- pkg/gui/presentation/containers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/gui/gocui.go b/pkg/gui/gocui.go index e4c0b155c..feaf576d4 100644 --- a/pkg/gui/gocui.go +++ b/pkg/gui/gocui.go @@ -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() diff --git a/pkg/gui/presentation/containers.go b/pkg/gui/presentation/containers.go index f58fc706c..359cbdfab 100644 --- a/pkg/gui/presentation/containers.go +++ b/pkg/gui/presentation/containers.go @@ -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 ""