Skip to content

Commit

Permalink
Fix typo in percona_pg_telemetry.c (#17)
Browse files Browse the repository at this point in the history
Update percona_pg_telemetry.c

Co-authored-by: Artem Gavrilov <[email protected]>
  • Loading branch information
BupycHuk and artemgavrilov authored Sep 9, 2024
1 parent 395a88e commit 66bc8ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions percona_pg_telemetry.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static shmem_request_hook_type prev_shmem_request_hook = NULL;
static BgwHandleStatus setup_background_worker(const char *bgw_function_name, const char *bgw_name, const char *bgw_type, Oid datid, pid_t bgw_notify_pid);
static void start_leader(void);
static long server_uptime(void);
static void load_telemery_files(void);
static void load_telemetry_files(void);
static char *generate_filename(char *filename);
static bool validate_dir(char *folder_path);

Expand Down Expand Up @@ -245,7 +245,7 @@ telemetry_file_next(char *filename)
* Load all telemetry files from the telemetry directory.
*/
static void
load_telemery_files(void)
load_telemetry_files(void)
{
DIR *d;
struct dirent *de;
Expand Down Expand Up @@ -918,7 +918,7 @@ percona_pg_telemetry_main(Datum main_arg)
pt_shmem_init();

/* Load existing telemetry files */
load_telemery_files();
load_telemetry_files();

/* Set up connection */
BackgroundWorkerInitializeConnectionByOid(InvalidOid, InvalidOid, 0);
Expand Down

0 comments on commit 66bc8ee

Please sign in to comment.