Skip to content

Commit 35e9b1d

Browse files
committed
refactor(ai): small condition fix
This commit removes a redundant if statement.
1 parent d5f0db7 commit 35e9b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/livepeer/starter/starter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ func StartLivepeer(ctx context.Context, cfg LivepeerConfig) {
14671467
if n.OrchSecret == "" {
14681468
if *cfg.AIModels != "" {
14691469
glog.Info("Running an orchestrator in AI External Container mode")
1470-
} else if n.OrchSecret == "" {
1470+
} else {
14711471
glog.Exit("Running an orchestrator requires an -orchSecret for standalone mode or -transcoder for orchestrator+transcoder mode")
14721472
}
14731473
}

0 commit comments

Comments
 (0)