mirror of
https://github.com/google/nomulus.git
synced 2025-05-17 09:57:17 +02: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:
parent
3fb9649597
commit
1194a81e91
2 changed files with 1 additions and 3 deletions
|
@ -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"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue