diff --git a/api/http/handler/helm/helm_list.go b/api/http/handler/helm/helm_list.go index 51ca32262..3aab6c264 100644 --- a/api/http/handler/helm/helm_list.go +++ b/api/http/handler/helm/helm_list.go @@ -7,6 +7,7 @@ import ( "github.com/portainer/libhttp/request" "github.com/portainer/libhttp/response" "github.com/portainer/portainer/pkg/libhelm/options" + _ "github.com/portainer/portainer/pkg/libhelm/release" ) // @id HelmList diff --git a/api/http/handler/system/system_info.go b/api/http/handler/system/system_info.go index d5df4648f..bd2e413a4 100644 --- a/api/http/handler/system/system_info.go +++ b/api/http/handler/system/system_info.go @@ -6,15 +6,14 @@ import ( httperror "github.com/portainer/libhttp/error" "github.com/portainer/libhttp/response" "github.com/portainer/portainer/api/internal/endpointutils" - "github.com/portainer/portainer/api/platform" plf "github.com/portainer/portainer/api/platform" ) type systemInfoResponse struct { - Platform platform.ContainerPlatform `json:"platform"` - EdgeAgents int `json:"edgeAgents"` - EdgeDevices int `json:"edgeDevices"` - Agents int `json:"agents"` + Platform plf.ContainerPlatform `json:"platform"` + EdgeAgents int `json:"edgeAgents"` + EdgeDevices int `json:"edgeDevices"` + Agents int `json:"agents"` } // @id systemInfo