Skip to content

Commit

Permalink
Fix the format with go.19
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-mdr committed Mar 6, 2023
1 parent 49813ee commit 16d8fbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/cloud/devicemanager/allocator.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ var _ NameAllocator = &nameAllocator{}

// GetNext gets next available device given existing names that are being used
// This function iterate through the device names in deterministic order of:
// ba, ... ,bz, ca, ... , cz
//
// ba, ... ,bz, ca, ... , cz
//
// and return the first one that is not used yet.
func (d *nameAllocator) GetNext(existingNames ExistingNames) (string, error) {
for c2 := 'b'; c2 <= 'z'; c2++ {
Expand Down

0 comments on commit 16d8fbc

Please sign in to comment.