Skip to content

Commit 954cba9

Browse files
committed
fix lint
1 parent 235d104 commit 954cba9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

models/repo_indexer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ type RepoIndexerStatus struct {
1212
CommitSha string `xorm:"VARCHAR(40)"`
1313
}
1414

15+
// GetIndexerStatus loads repo codes indxer status
1516
func (repo *Repository) GetIndexerStatus() error {
1617
if repo.IndexerStatus != nil {
1718
return nil
@@ -27,6 +28,7 @@ func (repo *Repository) GetIndexerStatus() error {
2728
return nil
2829
}
2930

31+
// UpdateIndexerStatus updates indexer status
3032
func (repo *Repository) UpdateIndexerStatus(sha string) error {
3133
if err := repo.GetIndexerStatus(); err != nil {
3234
return err

0 commit comments

Comments
 (0)