Skip to content

Commit

Permalink
home: upgrade yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Aug 27, 2023
1 parent c41e880 commit 94f2d38
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/home/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,7 @@ func upgradeSchema24to25(diskConf yobj) (err error) {

// upgradeSchema25to26 performs the following changes:
//
// # BEFORE:
// # BEFORE:
// 'dns':
// 'protection_enabled': true,
// 'blocking_mode': 'custom_ip',
Expand All @@ -1440,8 +1440,8 @@ func upgradeSchema24to25(diskConf yobj) (err error) {
// 'safebrowsing_block_host': 's.dns.adguard.com',
// ...
//
// # AFTER:
// 'filtering':
// # AFTER:
// 'filtering':
// 'protection_enabled': true,
// 'blocking_mode': 'custom_ip',
// 'blocking_ipv4': '1.2.3.4',
Expand All @@ -1450,8 +1450,8 @@ func upgradeSchema24to25(diskConf yobj) (err error) {
// 'protection_disabled_until': 'null',
// 'parental_block_host': 'p.dns.adguard.com',
// 'safebrowsing_block_host': 's.dns.adguard.com',
// 'dns'
// ...
// 'dns'
// ...
func upgradeSchema25to26(diskConf yobj) (err error) {
log.Printf("Upgrade yaml: 25 to 26")
diskConf["schema_version"] = 26
Expand Down

0 comments on commit 94f2d38

Please sign in to comment.