Skip to content

Commit

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

Automated cherry pick of kubernetes#9630: Fix int to string conversions
  • Loading branch information
k8s-ci-robot authored Aug 14, 2020
2 parents 20abf6d + f264876 commit 0f85a57
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 0f85a57

Please sign in to comment.