diff options
| author | ckonstanski <carlos.konstanski@olo.com> | 2025-12-30 17:01:16 -0700 |
|---|---|---|
| committer | ckonstanski <carlos.konstanski@olo.com> | 2025-12-30 17:01:16 -0700 |
| commit | c5cd117a358b311569939dcb37a17b12c8f94a52 (patch) | |
| tree | 1e446b2eb669c6dbd8100c4f2bc00e7903e88f12 | |
| parent | 7221c992de35e7b495f4e1f1e9e61436f4658883 (diff) | |
get rid of unneeded variable only used once
| -rw-r--r-- | lisp/aws/aws.lisp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/aws/aws.lisp b/lisp/aws/aws.lisp index 27a634e..83f47da 100644 --- a/lisp/aws/aws.lisp +++ b/lisp/aws/aws.lisp @@ -178,8 +178,7 @@ (defmethod get-asgs ((aws aws) filter) (let* ((command "aws autoscaling describe-auto-scaling-groups") - (data (cdar (run-aws-cli aws command))) - (asgs (loop for asg in data + (asgs (loop for asg in (cdar (run-aws-cli aws command)) when (org-ckons-core::match-it filter (cdr (assoc :*auto-scaling-group-name asg))) collect (make-instance 'aws-asg :profile (profile aws) |
