mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
fix(docker): [ota] nil ptr
This commit is contained in:
parent
123dd83b51
commit
b95ef57e42
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ import (
|
|||
"context"
|
||||
|
||||
"github.com/0xJacky/Nginx-UI/internal/docker"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/uozi-tech/cosy/logger"
|
||||
"github.com/urfave/cli/v3"
|
||||
)
|
||||
|
@ -17,6 +18,7 @@ var UpgradeDockerStep2Command = &cli.Command{
|
|||
|
||||
// UpgradeDockerStep2 executes the second step in the temporary container
|
||||
func UpgradeDockerStep2(ctx context.Context, command *cli.Command) error {
|
||||
logger.Init(gin.DebugMode)
|
||||
logger.Info("Starting Docker OTA upgrade step 2 from CLI...")
|
||||
|
||||
return docker.UpgradeStepTwo(ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue