fix typo in errcheck for response parsing logic in CreateTunnel routine
This commit is contained in:
		
							parent
							
								
									8e69f41833
								
							
						
					
					
						commit
						a8765482a1
					
				|  | @ -93,7 +93,7 @@ func (r *RESTClient) CreateTunnel(name string, tunnelSecret []byte) (*TunnelWith | |||
| 	switch resp.StatusCode { | ||||
| 	case http.StatusOK: | ||||
| 		var tunnel TunnelWithToken | ||||
| 		if serdeErr := parseResponse(resp.Body, &tunnel); err != nil { | ||||
| 		if serdeErr := parseResponse(resp.Body, &tunnel); serdeErr != nil { | ||||
| 			return nil, serdeErr | ||||
| 		} | ||||
| 		return &tunnel, nil | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue