From 3dfba5901b2474b2d6a83905310f65af1ed3e349 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 26 Feb 2024 14:34:20 +0300 Subject: fix(ops/whitby): use ensureDBOwnership option for panettone The other option is deprecated and prints scary eval warnings. This probably has no effect, as the database is already initialised. Change-Id: Ida4e79517436fa4572e69317b28f3712afc17159 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11029 Tested-by: BuildkiteCI Reviewed-by: sterni --- ops/machines/whitby/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ops') diff --git a/ops/machines/whitby/default.nix b/ops/machines/whitby/default.nix index 2259b51c2ab8..d12445d07840 100644 --- a/ops/machines/whitby/default.nix +++ b/ops/machines/whitby/default.nix @@ -454,9 +454,7 @@ in ensureUsers = [{ name = "panettone"; - ensurePermissions = { - "DATABASE panettone" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; }]; }; -- cgit 1.4.1