Skip to content

Commit

Permalink
Add a comment for RemoteConfiguration method
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriPapousek committed Jul 24, 2024
1 parent ca80b1f commit 73ea18e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/service/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (r *Repository) Rules() (*Rules, error) {
return &rules, nil
}

// RemoteConfiguration returns a default remote configuration for v2 endpoint
func (r *Repository) RemoteConfiguration() (*RemoteConfiguration, error) {
filepath := "config_default.json" // TODO: Make this depend on OCP version
data := r.store.ReadRemoteConfig(filepath)
Expand Down

0 comments on commit 73ea18e

Please sign in to comment.