From b335561a559aa0201dfb0dd4c46ab9957232b5a8 Mon Sep 17 00:00:00 2001 From: junos Date: Wed, 17 Nov 2021 18:50:06 +0100 Subject: [PATCH] Correct the name of a field. --- src/data/streams/aware_postgresql/container.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/streams/aware_postgresql/container.R b/src/data/streams/aware_postgresql/container.R index 2aa9c9bb..c421d643 100644 --- a/src/data/streams/aware_postgresql/container.R +++ b/src/data/streams/aware_postgresql/container.R @@ -43,7 +43,7 @@ get_db_engine <- function(group){ if(!group %in% names(credentials)) stop(paste("The credentials group",group, "does not exist in ./credentials.yaml. The only groups that exist in that file are:", paste(names(credentials), collapse = ","), ". Did you forget to set the group in [PHONE_DATA_STREAMS][aware_mysql][DATABASE_GROUP] in config.yaml?")) dbEngine <- dbConnect(Postgres(), db = credentials[[group]][["database"]], - user = credentials[[group]][["user"]], + username = credentials[[group]][["user"]], password = credentials[[group]][["password"]], host = credentials[[group]][["host"]], port = credentials[[group]][["port"]])