We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 260fa1a commit b0c0625Copy full SHA for b0c0625
client/nginx.go
@@ -612,7 +612,7 @@ func versionSupported(n int) bool {
612
613
// GetMaxAPIVersion returns the maximum API version supported by the server and the client.
614
func (client *NginxClient) GetMaxAPIVersion() (int, error) {
615
- serverVersion, err := client.getAPIVersions(client.httpClient, client.apiEndpoint)
+ serverVersions, err := client.getAPIVersions(client.httpClient, client.apiEndpoint)
616
if err != nil {
617
return 0, fmt.Errorf("failed to get max API version: %w", err)
618
}
0 commit comments