From 5c10b966da968d29ad8c20b31790fc1d4c095464 Mon Sep 17 00:00:00 2001 From: oshratz Date: Sun, 17 Nov 2024 13:57:54 +0200 Subject: [PATCH] Turn the signing key to be optional in RBP --- lifecycle/cli.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lifecycle/cli.go b/lifecycle/cli.go index ce0e32bbb..da6c3d7d7 100644 --- a/lifecycle/cli.go +++ b/lifecycle/cli.go @@ -350,13 +350,6 @@ func validateDistributeCommand(c *cli.Context) error { return nil } -func assertSigningKeyProvided(c *cli.Context) error { - if c.String(cliutils.SigningKey) == "" { - return errorutils.CheckErrorf("the --%s option is mandatory", cliutils.SigningKey) - } - return nil -} - func createLifecycleDetailsByFlags(c *cli.Context) (*coreConfig.ServerDetails, error) { lcDetails, err := cliutils.CreateServerDetailsWithConfigOffer(c, true, commonCliUtils.Platform) if err != nil {