Skip to content

Commit

Permalink
don't panic on launch template hydration error
Browse files Browse the repository at this point in the history
  • Loading branch information
bwagner5 committed May 3, 2022
1 parent c4191cf commit 9e06182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudprovider/aws/launchtemplate.go
Expand Up @@ -226,7 +226,7 @@ func (p *LaunchTemplateProvider) hydrateCache(ctx context.Context) {
}
return true
}); err != nil {
panic(fmt.Sprintf("Unable to hydrate the AWS launch template cache, %s", err))
p.logger.Errorf(fmt.Sprintf("Unable to hydrate the AWS launch template cache, %s", err))
}
p.logger.Debugf("Finished hydrating the launch template cache with %d items", p.cache.ItemCount())
}
Expand Down

0 comments on commit 9e06182

Please sign in to comment.