Skip to content

Commit 3218c7c

Browse files
authored
chore: Update Cargo.lock (#18)
1 parent a502edd commit 3218c7c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/commands/init.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// ABOUTME: Initial replication command for snapshot schema and data copy
22
// ABOUTME: Performs full database dump and restore from source to target
33

4+
use crate::migration::dump::remove_restricted_role_grants;
45
use crate::{checkpoint, migration, postgres};
56
use anyhow::{bail, Context, Result};
67
use std::io::{self, Write};
@@ -229,7 +230,7 @@ pub async fn init(
229230
.context("Failed to remove SUPERUSER from globals dump")?;
230231
migration::remove_restricted_guc_settings(globals_file.to_str().unwrap())
231232
.context("Failed to remove restricted parameter settings from globals dump")?;
232-
migration::remove_restricted_role_grants(globals_file.to_str().unwrap())
233+
remove_restricted_role_grants(globals_file.to_str().unwrap())
233234
.context("Failed to remove restricted role grants from globals dump")?;
234235

235236
// Step 2: Restore global objects

0 commit comments

Comments
 (0)