Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 3c75ac6

Browse files
committed
interfaceUniqueID for baremetal fixed
1 parent 79632ac commit 3c75ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcore/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ func interfaceUniqueID(i interface{}) int {
540540
h := md5.New()
541541
iType := e["type"].(string)
542542
io.WriteString(h, iType)
543-
iOrder := e["order"].(int)
543+
iOrder, _ := e["order"].(int)
544544
io.WriteString(h, strconv.Itoa(iOrder))
545545
switch types.InterfaceType(iType) {
546546
case types.ReservedFixedIpType:

0 commit comments

Comments
 (0)