From da816356ae8c0e9ba7320b19e52386b4db06ef96 Mon Sep 17 00:00:00 2001 From: David Lesner Date: Tue, 12 Nov 2024 17:15:18 +0200 Subject: [PATCH] Release-bundle creation to sync mode as default (#2754) Co-authored-by: davidles --- lifecycle/cli.go | 2 +- utils/cliutils/commandsflags.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lifecycle/cli.go b/lifecycle/cli.go index 92a7a5d0e..b47731934 100644 --- a/lifecycle/cli.go +++ b/lifecycle/cli.go @@ -371,7 +371,7 @@ func createLifecycleDetailsByFlags(c *cli.Context) (*coreConfig.ServerDetails, e return nil, err } if lcDetails.Url == "" { - return nil, errors.New("no JFrog Platform URL specified, either via the --url flag or as part of the server configuration") + return nil, errors.New("platform URL is mandatory for lifecycle commands") } PlatformToLifecycleUrls(lcDetails) return lcDetails, nil diff --git a/utils/cliutils/commandsflags.go b/utils/cliutils/commandsflags.go index ed38ec66c..446f84eff 100644 --- a/utils/cliutils/commandsflags.go +++ b/utils/cliutils/commandsflags.go @@ -1630,9 +1630,9 @@ var flagsMap = map[string]cli.Flag{ Name: PreChecks, Usage: "[Default: false] Set to true to run pre-transfer checks.` `", }, - lcSync: cli.BoolFlag{ + lcSync: cli.BoolTFlag{ Name: Sync, - Usage: "[Default: false] Set to true to run synchronously.` `", + Usage: "[Default: true] Set to false to run asynchronously.` `", }, lcProject: cli.StringFlag{ Name: Project,