Skip to content

Commit

Permalink
fix bug of new validate service
Browse files Browse the repository at this point in the history
  • Loading branch information
Jing-ze committed Dec 26, 2024
1 parent 9e509ad commit c3bfc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/options/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type ValidateService struct {
ServiceHost string `mapstructure:"validate_service_host"`
}

func (s *ValidateService) NewValidateService() (wrapper.HttpClient, error) {
func (s *ValidateService) NewService() (wrapper.HttpClient, error) {
if s.ServiceName == "" || s.ServicePort == 0 {
return nil, errors.New("invalid service config")
}
Expand Down

0 comments on commit c3bfc83

Please sign in to comment.