Skip to content

Commit

Permalink
Fix with disabled permission service (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
ostcar committed Mar 14, 2021
1 parent 9932e7d commit 8b1aec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/autoupdate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func run() error {
}

// Permission Service.
var perms restrict.Permissioner = new(test.MockPermission)
var perms restrict.Permissioner = &test.MockPermission{Default: true}
var updater autoupdate.UserUpdater = new(test.UserUpdater)
permService := "fake"
if env["DEACTIVATE_PERMISSION"] == "false" {
Expand Down

0 comments on commit 8b1aec2

Please sign in to comment.