Skip to content

Commit 62d2ebc

Browse files
committed
Updating warning message to clarify that VolumeConfigurations property will be ignored if service or task managed-ebs-volume-name property is not provided
1 parent 0ed20b3 commit 62d2ebc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async function runTask(ecs, clusterName, taskDefArn, waitForMinutes, enableECSMa
6666
managedEBSVolume: taskManagedEBSVolumeObject
6767
}];
6868
} else {
69-
core.warning(`run-task-managed-ebs-volume-name provided without run-task-managed-ebs-volume value. Ignoring run-task-managed-ebs-volume property`);
69+
core.warning(`run-task-managed-ebs-volume-name provided without run-task-managed-ebs-volume value. VolumeConfigurations property will not be included in the RunTask API call`);
7070
}
7171
}
7272

@@ -214,7 +214,7 @@ async function updateEcsService(ecs, clusterName, service, taskDefArn, waitForSe
214214
managedEBSVolume: serviceManagedEbsVolumeObject
215215
}];
216216
} else {
217-
core.warning('service-managed-ebs-volume-name provided without service-managed-ebs-volume value. Ignoring service-managed-ebs-volume property');
217+
core.warning('service-managed-ebs-volume-name provided without service-managed-ebs-volume value. VolumeConfigurations property will not be included in the UpdateService API call');
218218
}
219219
}
220220

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ async function runTask(ecs, clusterName, taskDefArn, waitForMinutes, enableECSMa
6060
managedEBSVolume: taskManagedEBSVolumeObject
6161
}];
6262
} else {
63-
core.warning(`run-task-managed-ebs-volume-name provided without run-task-managed-ebs-volume value. Ignoring run-task-managed-ebs-volume property`);
63+
core.warning(`run-task-managed-ebs-volume-name provided without run-task-managed-ebs-volume value. VolumeConfigurations property will not be included in the RunTask API call`);
6464
}
6565
}
6666

@@ -208,7 +208,7 @@ async function updateEcsService(ecs, clusterName, service, taskDefArn, waitForSe
208208
managedEBSVolume: serviceManagedEbsVolumeObject
209209
}];
210210
} else {
211-
core.warning('service-managed-ebs-volume-name provided without service-managed-ebs-volume value. Ignoring service-managed-ebs-volume property');
211+
core.warning('service-managed-ebs-volume-name provided without service-managed-ebs-volume value. VolumeConfigurations property will not be included in the UpdateService API call');
212212
}
213213
}
214214

0 commit comments

Comments
 (0)