Skip to content

Commit

Permalink
Remove AWSNeurons check for BR AMI
Browse files Browse the repository at this point in the history
  • Loading branch information
rothgar committed Feb 11, 2022
1 parent f43dd2a commit df1156a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudprovider/aws/ami.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (p *AMIProvider) getAL2Alias(version string, instanceType cloudprovider.Ins
func (p *AMIProvider) getBottlerocketAlias(version string, instanceType cloudprovider.InstanceType) string {
arch := "x86_64"
amiSuffix := ""
if !instanceType.NvidiaGPUs().IsZero() || !instanceType.AWSNeurons().IsZero() {
if !instanceType.NvidiaGPUs().IsZero() {
amiSuffix = "-nvidia"
}
if instanceType.Architecture() == v1alpha5.ArchitectureArm64 {
Expand Down

0 comments on commit df1156a

Please sign in to comment.