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,
|
Version: c.ReportedVersion,
|
||||||
OS: fmt.Sprintf("%s_%s", runtime.GOOS, runtime.GOARCH),
|
OS: fmt.Sprintf("%s_%s", runtime.GOOS, runtime.GOARCH),
|
||||||
ExistingTunnelPolicy: policy,
|
ExistingTunnelPolicy: policy,
|
||||||
// PoolName: c.LBPool, // TODO - see issue #2
|
PoolName: c.LBPool,
|
||||||
Tags: c.Tags,
|
Tags: c.Tags,
|
||||||
ConnectionID: connectionID,
|
ConnectionID: connectionID,
|
||||||
OriginLocalIP: OriginLocalIP,
|
OriginLocalIP: OriginLocalIP,
|
||||||
// IsAutoupdated: c.IsAutoupdated, // TODO - see issue #2
|
IsAutoupdated: c.IsAutoupdated,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,11 +47,11 @@ type RegistrationOptions struct {
|
||||||
Version string
|
Version string
|
||||||
OS string `capnp:"os"`
|
OS string `capnp:"os"`
|
||||||
ExistingTunnelPolicy tunnelrpc.ExistingTunnelPolicy
|
ExistingTunnelPolicy tunnelrpc.ExistingTunnelPolicy
|
||||||
// PoolName string `capnp:"poolName"` // TODO - see issue #2
|
PoolName string `capnp:"poolName"`
|
||||||
Tags []Tag
|
Tags []Tag
|
||||||
ConnectionID uint8 `capnp:"connectionId"`
|
ConnectionID uint8 `capnp:"connectionId"`
|
||||||
OriginLocalIP string `capnp:"originLocalIp"`
|
OriginLocalIP string `capnp:"originLocalIp"`
|
||||||
// IsAutoupdated bool `capnp:"isAutoupdated"` // TODO - see issue #2
|
IsAutoupdated bool `capnp:"isAutoupdated"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func MarshalRegistrationOptions(s tunnelrpc.RegistrationOptions, p *RegistrationOptions) error {
|
func MarshalRegistrationOptions(s tunnelrpc.RegistrationOptions, p *RegistrationOptions) error {
|
||||||
|
|
Loading…
Reference in New Issue