diff --git a/tasks/vmaas_sync/repo_based.go b/tasks/vmaas_sync/repo_based.go index cb7742081..eb87fdab6 100644 --- a/tasks/vmaas_sync/repo_based.go +++ b/tasks/vmaas_sync/repo_based.go @@ -94,6 +94,9 @@ func getUpdatedRepos(syncStart time.Time, modifiedSince *string) ([]string, []st break } + if repos.LatestRepoChange == nil { + break + } latestRepoChange = repos.LatestRepoChange.Time() utils.LogInfo("page", page, "pages", repos.Pages, "count", len(repos.RepositoryList),