Skip to content

Commit

Permalink
Release-bundle creation to sync mode as default (#2754)
Browse files Browse the repository at this point in the history
Co-authored-by: davidles <[email protected]>
  • Loading branch information
lesnerd and davidlesfrog authored Nov 12, 2024
1 parent ce3aadc commit da81635
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lifecycle/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions utils/cliutils/commandsflags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit da81635

Please sign in to comment.