Skip to content

Commit

Permalink
refactor: add AI service registry info log line
Browse files Browse the repository at this point in the history
This commit logs when the AI ServiceRegistry is used instead of the
regular registry.
  • Loading branch information
rickstaa committed Jan 23, 2025
1 parent a1800dc commit 6b942c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#### Orchestrator

- [#3362](https://github.com/livepeer/go-livepeer/pull/3362) Add AI service registry log line.

#### Transcoder

### Bug Fixes 🐞
Expand Down
1 change: 1 addition & 0 deletions cmd/livepeer/starter/starter.go
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ func StartLivepeer(ctx context.Context, cfg LivepeerConfig) {
}

if *cfg.AIServiceRegistry {
glog.Infof("Using AIServiceRegistry")

Check warning on line 740 in cmd/livepeer/starter/starter.go

View check run for this annotation

Codecov / codecov/patch

cmd/livepeer/starter/starter.go#L740

Added line #L740 was not covered by tests
// For the time-being Livepeer AI Subnet uses its own ServiceRegistry, so we define it here
ethCfg.ServiceRegistryAddr = ethcommon.HexToAddress("0x04C0b249740175999E5BF5c9ac1dA92431EF34C5")
}
Expand Down

0 comments on commit 6b942c0

Please sign in to comment.