Skip to content

Commit

Permalink
fixed a tag in a YAML file
Browse files Browse the repository at this point in the history
  • Loading branch information
scmacdon committed Nov 27, 2024
1 parent 8f2621c commit e2bef3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .doc_gen/metadata/s3-control_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ s3-control_CreateJob:
- description: Create a legal hold off job.
snippet_tags:
- s3control.java2.create_job.compliance.main
- description: Create a new governance retemtion job.
- description: Create a new governance retention job.
snippet_tags:
- s3.java2.create_governance_retemtion.main
- s3.java2.create_governance_retention.main
services:
s3-control: {CreateJob}
s3-control_PutJobTagging:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.util.Arrays;
import java.util.Date;

// snippet-start:[s3.java2.create_governance_retemtion.main]
// snippet-start:[s3.java2.create_governance_retention.main]
/**
* Before running this Java V2 code example, set up your development
* environment, including your credentials.
Expand All @@ -37,7 +37,7 @@ public static void main(String[]args) throws ParseException {
manifestObjectVersionId = A unique value that is used as the `eTag` property of the `JobManifestLocation` object.
""";

if (args.length != 4) {
if (args.length != 5) {
System.out.println(usage);
return;
}
Expand Down Expand Up @@ -109,4 +109,4 @@ public static String createGovernanceRetentionJob(final S3ControlClient s3Contro
return result.jobId();
}
}
// snippet-end:[s3.java2.create_governance_retemtion.main]
// snippet-end:[s3.java2.create_governance_retention.main]

0 comments on commit e2bef3c

Please sign in to comment.