mirror of
https://github.com/safing/portbase
synced 2025-09-01 10:09:50 +00:00
Fix typos
This commit is contained in:
parent
c9d77682f8
commit
7cdb71c461
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ func prep() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// We need to listen for configuration changes so we can
|
// We need to listen for configuration changes so we can
|
||||||
// start/stop dependend modules in case a subsystem is
|
// start/stop depended modules in case a subsystem is
|
||||||
// (de-)activated.
|
// (de-)activated.
|
||||||
if err := module.RegisterEventHook(
|
if err := module.RegisterEventHook(
|
||||||
"config",
|
"config",
|
||||||
|
|
|
@ -145,7 +145,7 @@ func (s *RegistryState) ReportDownloads(downloaded []string, failed error) {
|
||||||
s.Updates.LastDownloadError = failed
|
s.Updates.LastDownloadError = failed
|
||||||
s.Updates.LastDownload = downloaded
|
s.Updates.LastDownload = downloaded
|
||||||
|
|
||||||
// Remote downloaded resources from the pending list.
|
// Remove downloaded resources from the pending list.
|
||||||
var newPendingDownload []string
|
var newPendingDownload []string
|
||||||
outer:
|
outer:
|
||||||
for _, pend := range s.Updates.PendingDownload {
|
for _, pend := range s.Updates.PendingDownload {
|
||||||
|
|
Loading…
Add table
Reference in a new issue