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:
parent
69baa279d4
commit
89359a21ce
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue