Skip to content

Commit

Permalink
engine: if no targets for LiveUpdate found, redirect SILENTLY (the us…
Browse files Browse the repository at this point in the history
…er doesn't care about this) (#2320)
  • Loading branch information
Maia McCormick authored Oct 10, 2019
1 parent 7326a29 commit 18af473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/engine/live_update_build_and_deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (lubad *LiveUpdateBuildAndDeployer) BuildAndDeploy(ctx context.Context, st
liveUpdInfos := make([]liveUpdInfo, 0, len(liveUpdateStateSet))

if len(liveUpdateStateSet) == 0 {
return nil, RedirectToNextBuilderInfof("no targets for LiveUpdate found")
return nil, SilentRedirectToNextBuilderf("no targets for LiveUpdate found")
}

for _, luStateTree := range liveUpdateStateSet {
Expand Down

0 comments on commit 18af473

Please sign in to comment.