Skip to content

Commit b1888c4

Browse files
committed
fix ports type in models.go
1 parent 85c3277 commit b1888c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/internal/adj/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type ADJ struct {
66
}
77

88
type Info struct {
9-
Ports map[string]string `json:"ports"`
9+
Ports map[string]uint16 `json:"ports"`
1010
Addresses map[string]string `json:"addresses"`
1111
Units map[string]string `json:"units"`
1212
MessageIds map[string]string `json:"message_ids"`

0 commit comments

Comments
 (0)