File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ func (c *Client) ReifySpec() (latest bool, err error) {
105105 return false , err
106106 }
107107
108- err = c .patchForwardsFor (& nc )
108+ err = c .patchAccessible (& nc )
109109 if err != nil {
110110 return false , err
111111 }
@@ -274,14 +274,14 @@ func (c *Client) chooseEndpoints(nc *spec.NetworkCensored) error {
274274 return nil
275275}
276276
277- func (c * Client ) patchForwardsFor (nc * spec.NetworkCensored ) error {
277+ func (c * Client ) patchAccessible (nc * spec.NetworkCensored ) error {
278278 var forwardsFor []string
279279 for _ , ndc := range nc .Devices {
280280 if ndc .ForwarderAndEndpointChosen {
281281 forwardsFor = append (forwardsFor , ndc .Name )
282282 }
283283 }
284- if len (forwardsFor ) = = 0 {
284+ if len (forwardsFor ) ! = 0 {
285285 zap .S ().Debugf ("I can forward for %d devices." , len (forwardsFor ))
286286 err := c .patchSpec (coord.PatchReifySpecRequest {
287287 Accessible : forwardsFor ,
You can’t perform that action at this time.
0 commit comments