Skip to content

Commit

Permalink
Merge pull request #9752 from hakman/automated-cherry-pick-of-#9630-u…
Browse files Browse the repository at this point in the history
…pstream-release-1.17

Automated cherry pick of #9630: Fix int to string conversions
  • Loading branch information
k8s-ci-robot authored Aug 14, 2020
2 parents ee0f8e7 + 7b77b14 commit 4d38bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upup/pkg/fi/cloudup/awsup/machine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (m *AWSMachineTypeInfo) EphemeralDevices() []*EphemeralDevice {
// TODO: What drive letters do we use?
klog.Fatalf("ephemeral devices for > 20 not yet implemented")
}
d.DeviceName = "/dev/sd" + string('c'+i)
d.DeviceName = fmt.Sprintf("/dev/sd%c", 'c'+i)
d.VirtualName = fmt.Sprintf("ephemeral%d", i)

disks = append(disks, d)
Expand Down

0 comments on commit 4d38bc2

Please sign in to comment.