src/Actioner/SnapshotVolumeAction.js
Function _tagSnapshot
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
let _tagSnapshot = (snapshot, action) => {
let ec2 = new AWS.EC2();
let madeDate = moment(snapshot.StartTime, 'ddd MMM DD YYYY HH:mm:ss ZZ');
let tags = [{
Key: 'backups:config-v0',