Skip to content

Commit

Permalink
Fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
Szpadel committed May 5, 2020
1 parent e4215e2 commit fa7ae6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ec2-facade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class EC2Facade {
if (!id) {
throw Error('InstanceId is missing');
}
console.log(`Creating tags for ec2: ${instance}: ${JSON.stringify(tags)}`);
console.log(`Creating tags for ec2: ${id}: ${JSON.stringify(tags)}`);
return this.createTags({
Resources: [id],
Tags: tags,
Expand All @@ -56,7 +56,7 @@ export class EC2Facade {
if (!id) {
throw Error('InstanceId is missing');
}
console.log(`Deleting tags for ec2: ${instance}: ${JSON.stringify(tags)}`);
console.log(`Deleting tags for ec2: ${id}: ${JSON.stringify(tags)}`);
return this.deleteTags({
Resources: [id],
Tags: tags,
Expand Down

0 comments on commit fa7ae6c

Please sign in to comment.