Skip to content

Commit

Permalink
Revert "fix unexported bug (#1634)" (#1635)
Browse files Browse the repository at this point in the history
This reverts commit 5604ba5.
  • Loading branch information
AlexStocks committed Dec 3, 2021
1 parent 5604ba5 commit 8d02d8f
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.exported != nil && svc.exported.Load() {
if svc.unexported != nil && svc.exported.Load() {
logger.Warnf("The service %v has already exported!", svc.Interface)
return nil
}
Expand Down

0 comments on commit 8d02d8f

Please sign in to comment.