Skip to content

Commit

Permalink
Pull request: all: fix specs, imp docs
Browse files Browse the repository at this point in the history
Merge in DNS/adguard-home from fix-specs-2 to master

Squashed commit of the following:

commit 687c5ea
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Thu Apr 8 16:38:34 2021 +0300

    all: fix specs, imp docs
  • Loading branch information
ainar-g authored and heyxkhoa committed Mar 17, 2023
1 parent 241dd52 commit 3759c2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions bamboo-specs/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
cd ./dist/
export CHANNEL="${bamboo.channel}"
./bamboo-deploy-publisher/deploy.sh adguard-home-"$CHANNEL"
../bamboo-deploy-publisher/deploy.sh adguard-home-"$CHANNEL"
'final-tasks':
- 'clean'
'requirements':
Expand Down Expand Up @@ -179,7 +179,7 @@
SNAPCRAFT_EMAIL="${bamboo.snapcraftEmail}"\
SNAPCRAFT_MACAROON="${bamboo.snapcraftMacaroonPassword}"\
SNAPCRAFT_UBUNTU_DISCHARGE="${bamboo.snapcraftUbuntuDischargePassword}"\
./bamboo-deploy-publisher/deploy.sh adguard-home-snap
../bamboo-deploy-publisher/deploy.sh adguard-home-snap
'final-tasks':
- 'clean'
'requirements':
Expand All @@ -201,8 +201,6 @@
set -e -f -u -x
cd ./dist/
export CHANNEL="${bamboo.channel}"
if [ "$CHANNEL" != 'release' -a "${CHANNEL}" != 'beta' ]
then
Expand All @@ -211,9 +209,11 @@
exit 0
fi
cd ./dist/
env\
GITHUB_TOKEN="${bamboo.githubPublicRepoPassword}"\
./bamboo-deploy-publisher/deploy.sh adguard-home-github
../bamboo-deploy-publisher/deploy.sh adguard-home-github
'final-tasks':
- 'clean'
'requirements':
Expand Down
2 changes: 1 addition & 1 deletion internal/home/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func InitAuth(dbFilename string, users []User, sessionTTL uint32) *Auth {
if err != nil {
log.Error("auth: open DB: %s: %s", dbFilename, err)
if err.Error() == "invalid argument" {
log.Error("AdGuard Home cannot be initialized due to an incompatible file system.\nPlease read the explanation here: https://github.com/AdguardTeam/AdGuardHome/internal/wiki/Getting-Started#limitations")
log.Error("AdGuard Home cannot be initialized due to an incompatible file system.\nPlease read the explanation here: https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#limitations")
}

return nil
Expand Down
2 changes: 1 addition & 1 deletion internal/stats/unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (s *statsCtx) dbOpen() bool {
if err != nil {
log.Error("stats: open DB: %s: %s", s.conf.Filename, err)
if err.Error() == "invalid argument" {
log.Error("AdGuard Home cannot be initialized due to an incompatible file system.\nPlease read the explanation here: https://github.com/AdguardTeam/AdGuardHome/internal/wiki/Getting-Started#limitations")
log.Error("AdGuard Home cannot be initialized due to an incompatible file system.\nPlease read the explanation here: https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#limitations")
}
return false
}
Expand Down

0 comments on commit 3759c2d

Please sign in to comment.