Restore commented fields (issue #2)
This commit is contained in:
parent
d513524509
commit
3e6e389e1f
|
@ -93,11 +93,11 @@ func (c *TunnelConfig) RegistrationOptions(connectionID uint8, OriginLocalIP str
|
|||
Version: c.ReportedVersion,
|
||||
OS: fmt.Sprintf("%s_%s", runtime.GOOS, runtime.GOARCH),
|
||||
ExistingTunnelPolicy: policy,
|
||||
// PoolName: c.LBPool, // TODO - see issue #2
|
||||
PoolName: c.LBPool,
|
||||
Tags: c.Tags,
|
||||
ConnectionID: connectionID,
|
||||
OriginLocalIP: OriginLocalIP,
|
||||
// IsAutoupdated: c.IsAutoupdated, // TODO - see issue #2
|
||||
IsAutoupdated: c.IsAutoupdated,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -47,11 +47,11 @@ type RegistrationOptions struct {
|
|||
Version string
|
||||
OS string `capnp:"os"`
|
||||
ExistingTunnelPolicy tunnelrpc.ExistingTunnelPolicy
|
||||
// PoolName string `capnp:"poolName"` // TODO - see issue #2
|
||||
PoolName string `capnp:"poolName"`
|
||||
Tags []Tag
|
||||
ConnectionID uint8 `capnp:"connectionId"`
|
||||
OriginLocalIP string `capnp:"originLocalIp"`
|
||||
// IsAutoupdated bool `capnp:"isAutoupdated"` // TODO - see issue #2
|
||||
IsAutoupdated bool `capnp:"isAutoupdated"`
|
||||
}
|
||||
|
||||
func MarshalRegistrationOptions(s tunnelrpc.RegistrationOptions, p *RegistrationOptions) error {
|
||||
|
|
Loading…
Reference in New Issue