mirror of
https://github.com/google/nomulus
synced 2026-01-04 04:04:22 +00:00
Fixes "Insufficient permission" error in export-snapshot task
Removed "run_as_a_service" parameter from backup.create command in DatastoreBackupService. This parameter can't be used externally, and is apparently no longer needed.
This commit is contained in:
@@ -72,8 +72,7 @@ public class DatastoreBackupService {
|
||||
.param("name", name + "_") // Add underscore since the name will be used as a prefix.
|
||||
.param("filesystem", "gs")
|
||||
.param("gs_bucket_name", gcsBucket)
|
||||
.param("queue", queue)
|
||||
.param("run_as_a_service", String.valueOf(true));
|
||||
.param("queue", queue);
|
||||
for (String kind : kinds) {
|
||||
options.param("kind", kind);
|
||||
}
|
||||
|
||||
@@ -96,7 +96,6 @@ public class DatastoreBackupServiceTest {
|
||||
.param("filesystem", "gs")
|
||||
.param("gs_bucket_name", "somebucket")
|
||||
.param("queue", "default")
|
||||
.param("run_as_a_service", "true")
|
||||
.param("kind", "foo")
|
||||
.param("kind", "bar"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user