Skip to content

Commit

Permalink
apps: Add log type for restarted containers (#1469)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
  • Loading branch information
markusthoemmes and andrewsomething authored Dec 7, 2023
1 parent 5080070 commit fe01818
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commands/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit fe01818

Please sign in to comment.