From 41100a441f9091b6153d20201da3d6720d80724c Mon Sep 17 00:00:00 2001 From: Kishan Bhat Date: Sat, 30 Mar 2024 22:21:36 -0700 Subject: [PATCH] Expose dry run mode value of lifecycle manager (#931) --- lifecycle/manager.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lifecycle/manager.go b/lifecycle/manager.go index 1b5af7103..72d76dd74 100644 --- a/lifecycle/manager.go +++ b/lifecycle/manager.go @@ -37,6 +37,10 @@ func (lcs *LifecycleServicesManager) Client() *jfroghttpclient.JfrogHttpClient { return lcs.client } +func (lcs *LifecycleServicesManager) IsDryRun() bool { + return lcs.config.IsDryRun() +} + func (lcs *LifecycleServicesManager) CreateReleaseBundleFromAql(rbDetails lifecycle.ReleaseBundleDetails, queryParams lifecycle.CommonOptionalQueryParams, signingKeyName string, aqlQuery string) error { rbService := lifecycle.NewReleaseBundlesService(lcs.config.GetServiceDetails(), lcs.client)