Skip to content

Commit

Permalink
fix: but in index regex match dhcp urls
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb authored Aug 3, 2024
1 parent 37d1977 commit e45f533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sztp-agent/pkg/dhcp/leases.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func GetBootstrapURLsViaLeaseFile(leaseFile, key string) ([]string, error) {
if len(url) == 1 {
continue
}
sztpRedirectURLs = append(sztpRedirectURLs, url[0])
sztpRedirectURLs = append(sztpRedirectURLs, url[1])
}
}

Expand Down

0 comments on commit e45f533

Please sign in to comment.