From fe0181898b4feb8dacb210e59f37b89f026d3fac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Th=C3=B6mmes?= Date: Thu, 7 Dec 2023 18:09:13 +0100 Subject: [PATCH] apps: Add log type for restarted containers (#1469) Co-authored-by: Andrew Starr-Bochicchio --- commands/apps.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/apps.go b/commands/apps.go index 32eccbdfd..4ebcde92e 100644 --- a/commands/apps.go +++ b/commands/apps.go @@ -595,6 +595,8 @@ func RunAppsGetLogs(c *CmdConfig) error { logType = godo.AppLogTypeDeploy case strings.ToLower(string(godo.AppLogTypeRun)): logType = godo.AppLogTypeRun + case strings.ToLower(string(godo.AppLogTypeRunRestarted)): + logType = godo.AppLogTypeRunRestarted default: return fmt.Errorf("Invalid log type %s", logTypeStr) }