Revert "Correct the name of a field."

This reverts commit b335561a55.

It was actually correct.
labels
junos 2021-11-17 19:16:35 +01:00
parent 24b11ea101
commit ed193d2290
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ get_db_engine <- function(group){
if(!group %in% names(credentials)) 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?")) 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"]], dbEngine <- dbConnect(Postgres(), db = credentials[[group]][["database"]],
username = credentials[[group]][["user"]], user = credentials[[group]][["user"]],
password = credentials[[group]][["password"]], password = credentials[[group]][["password"]],
host = credentials[[group]][["host"]], host = credentials[[group]][["host"]],
port = credentials[[group]][["port"]]) port = credentials[[group]][["port"]])