Skip to content

Commit 18666de

Browse files
frankynJon Wayne Parrott
authored andcommitted
Changed position of parameters in method definition (GoogleCloudPlatform#984)
1 parent 3a01559 commit 18666de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage/transfer_service/aws_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333

3434
# [START main]
35-
def main(description, project_id, day, month, year, hours, minutes,
35+
def main(description, project_id, year, month, day, hours, minutes,
3636
source_bucket, access_key, secret_access_key, sink_bucket):
3737
"""Create a one-off transfer from Amazon S3 to Google Cloud Storage."""
3838
storagetransfer = googleapiclient.discovery.build('storagetransfer', 'v1')

storage/transfer_service/nearline_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232

3333
# [START main]
34-
def main(description, project_id, day, month, year, hours, minutes,
34+
def main(description, project_id, year, month, day, hours, minutes,
3535
source_bucket, sink_bucket):
3636
"""Create a transfer from the Google Cloud Storage Standard class to the
3737
Nearline Storage class."""

0 commit comments

Comments
 (0)