Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zakir-code committed Nov 21, 2024
1 parent 7318fdc commit a6dcad8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion migration/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (c Config) IsEnabled() bool {
return c.Enabled
}

func (Config) Check() error {
func (Config) Validate() error {
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion migration/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (s *Server) Start(context.Context, *errgroup.Group) error {
return nil
}

if err := s.config.Check(); err != nil {
if err := s.config.Validate(); err != nil {
return err
}
s.logger.Infof("enable migration server")
Expand Down

0 comments on commit a6dcad8

Please sign in to comment.