1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

fix(docker): EE-3247 Portainer should not send a host information request when host management features are disabled (#7038)

This commit is contained in:
congs 2022-07-04 17:13:15 +12:00 committed by GitHub
parent 69baa279d4
commit 89359a21ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ angular.module('portainer.docker').controller('NodeDetailsViewController', [
if (ctrl.state.isAgent) {
var agentApiVersion = applicationState.endpoint.agentApiVersion;
ctrl.state.agentApiVersion = agentApiVersion;
if (agentApiVersion < 2) {
if (agentApiVersion < 2 || !ctrl.state.enableHostManagementFeatures) {
return;
}