Fix a typo.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
This commit is contained in:
parent
cd49284d58
commit
96e8d71b88
|
@ -48,7 +48,7 @@ func (a *artifact) Destroy() error {
|
||||||
errors := make([]error, 0)
|
errors := make([]error, 0)
|
||||||
|
|
||||||
for _, imageId := range a.amis {
|
for _, imageId := range a.amis {
|
||||||
log.Printf("Degistering image ID: %s", imageId)
|
log.Printf("Deregistering image ID: %s", imageId)
|
||||||
if _, err := a.conn.DeregisterImage(imageId); err != nil {
|
if _, err := a.conn.DeregisterImage(imageId); err != nil {
|
||||||
errors = append(errors, err)
|
errors = append(errors, err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue