Fix: observatory log & JSON config(#1211)

Co-authored-by: ihotte <ihotte@yeah.net>
This commit is contained in:
ihotte 2021-08-19 13:40:47 +08:00 committed by GitHub
parent e39a69e688
commit 8f429c35cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import (
type ObservatoryConfig struct { type ObservatoryConfig struct {
SubjectSelector []string `json:"subjectSelector"` SubjectSelector []string `json:"subjectSelector"`
ProbeURL string `json:"probeURL"` ProbeURL string `json:"probeURL"`
ProbeInterval duration.Duration `json:"ProbeInterval"` ProbeInterval duration.Duration `json:"probeInterval"`
} }
func (o *ObservatoryConfig) Build() (proto.Message, error) { func (o *ObservatoryConfig) Build() (proto.Message, error) {