Changeset 258 in code
- Timestamp:
- Apr 16, 2020, 2:54:13 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r257 r258 129 129 func (dc *downstreamConn) marshalEntity(uc *upstreamConn, name string) string { 130 130 if dc.network != nil { 131 if dc.network != uc.network { 132 panic("soju: tried to marshal an entity for another network") 133 } 131 134 return name 132 135 } … … 150 153 } 151 154 if dc.network != nil { 155 if dc.network != uc.network { 156 panic("soju: tried to marshal a user prefix for another network") 157 } 152 158 return prefix 153 159 }
Note:
See TracChangeset
for help on using the changeset viewer.