mirror of https://github.com/portainer/portainer
fix(pending-actions): correctly detect unreachable/down cluster [EE-7049] (#11811)
parent
39088b16b3
commit
2f1b5ec979
@ -0,0 +1,7 @@
|
||||
package cli
|
||||
|
||||
import "k8s.io/apimachinery/pkg/version"
|
||||
|
||||
func (kcl *KubeClient) ServerVersion() (*version.Info, error) {
|
||||
return kcl.cli.Discovery().ServerVersion()
|
||||
}
|
Loading…
Reference in new issue