Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/go-test/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ fi

# Need to fetch golang.org/x/* dependencies
go mod vendor -v
go test $INPUT_DIR
go test --buildvcs=false $INPUT_DIR
exit $?
5 changes: 5 additions & 0 deletions traffic_monitor/poller/monitorconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ func (p MonitorConfigPoller) Poll() {
log.Errorf("MonitorConfigPoller: %s\n %v\n", err, monitorConfig)
continue
}
// poll the CRConfig so that it is synchronized with the TMConfig
if _, err := p.Session.CRConfigRaw(p.OpsConfig.CdnName); err != nil {
log.Errorf("MonitorConfigPoller: error getting CRConfig: %v", err)
continue
}
p.writeConfig(MonitorCfg{CDN: p.OpsConfig.CdnName, Cfg: *monitorConfig})
}
}
Expand Down