Skip to content

Commit

Permalink
adds GetVariableConfig function for packager
Browse files Browse the repository at this point in the history
  • Loading branch information
decleaver committed May 3, 2024
1 parent c8a70ef commit 2e9ab04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pkg/packager/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ func (p *Packager) ClearTempPaths() {
_ = os.RemoveAll(layout.SBOMDir)
}

// GetVariableConfig returns the variable configuration for the packager.
func (p *Packager) GetVariableConfig() *variables.VariableConfig {
return p.variableConfig
}

// connectToCluster attempts to connect to a cluster if a connection is not already established
func (p *Packager) connectToCluster(timeout time.Duration) (err error) {
if p.isConnectedToCluster() {
Expand Down

0 comments on commit 2e9ab04

Please sign in to comment.