Skip to content

Commit 8b37fba

Browse files
authored
add projectID (#161)
1 parent 9cf2aa9 commit 8b37fba

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

options.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type RemoteInfo struct {
3232
AutoDiscovery bool
3333
APIVersion string
3434
RefreshPort string
35+
ProjectID string
3536
}
3637

3738
//Options hold options

source/remote/kie/kie_source.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ func NewKieSource(ci *archaius.RemoteInfo) (source.ConfigSource, error) {
6363
AutoDiscovery: ci.AutoDiscovery,
6464
Labels: ci.DefaultDimension,
6565
WatchTimeOut: ci.RefreshInterval,
66+
ProjectID: ci.ProjectID,
6667
}
6768
k, err := NewKie(opts)
6869
if err != nil {

0 commit comments

Comments
 (0)