Skip to content

Commit

Permalink
fix unexported bug (apache#1634)
Browse files Browse the repository at this point in the history
  • Loading branch information
luky116 authored Dec 3, 2021
1 parent 5cd1a52 commit 5604ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/service_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (svc *ServiceConfig) Export() error {
logger.Errorf(err.Error())
return err
}
if svc.unexported != nil && svc.exported.Load() {
if svc.exported != nil && svc.exported.Load() {
logger.Warnf("The service %v has already exported!", svc.Interface)
return nil
}
Expand Down

0 comments on commit 5604ba5

Please sign in to comment.