From d41bef4069a0db34fc4d48bbff50544785885acd Mon Sep 17 00:00:00 2001 From: The Magician Date: Wed, 16 Dec 2020 15:12:24 -0800 Subject: [PATCH] Removed trailing references to kubernetes_dashboard (#4328) (#484) This was removed in https://github.com/GoogleCloudPlatform/magic-modules/pull/2551 as one of the v3 breaking changes. However, a few trailing references remained in the repository. Removing those should bring us back in line and will resolve some broken tests in terraform-validator. Signed-off-by: Modular Magician --- libraries/google_container_cluster.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libraries/google_container_cluster.rb b/libraries/google_container_cluster.rb index 558d3817c..3f3130cdf 100644 --- a/libraries/google_container_cluster.rb +++ b/libraries/google_container_cluster.rb @@ -194,13 +194,6 @@ def has_resource_labels? true end - def has_kubernetes_dashboard_disabled? - return false if !defined?(@addons_config.kubernetes_dashboard) - return false if @addons_config.kubernetes_dashboard.to_h.empty? - return true if @addons_config.kubernetes_dashboard.to_h=={ 'disabled': true } - false - end - def has_basic_authorization? return false if @master_auth.username.nil? and @master_auth.password.nil? true