Skip to content

Commit

Permalink
Fixing airgap init (dapr#1008)
Browse files Browse the repository at this point in the history
Signed-off-by: shivam <shivamkm07@gmail.com>
Signed-off-by: hueifeng <695979933@qq.com>
  • Loading branch information
shivamkm07 authored and hueifeng committed Jul 18, 2022
1 parent 91b0752 commit 0d1ea01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/standalone/standalone.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ func installBinary(version, binaryFilePrefix, githubRepo string, info initInfo)
func createComponentsAndConfiguration(wg *sync.WaitGroup, errorChan chan<- error, info initInfo) {
defer wg.Done()

if info.slimMode {
if info.slimMode || isAirGapInit {
return
}

Expand Down Expand Up @@ -673,7 +673,7 @@ func createComponentsAndConfiguration(wg *sync.WaitGroup, errorChan chan<- error
func createSlimConfiguration(wg *sync.WaitGroup, errorChan chan<- error, info initInfo) {
defer wg.Done()

if !info.slimMode {
if !(info.slimMode || isAirGapInit) {
return
}

Expand Down

0 comments on commit 0d1ea01

Please sign in to comment.