Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Removed trailing references to kubernetes_dashboard (#4328) (#484)
Browse files Browse the repository at this point in the history
This was removed in GoogleCloudPlatform/magic-modules#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 <[email protected]>
  • Loading branch information
modular-magician authored Dec 16, 2020
1 parent 3181ce9 commit d41bef4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions libraries/google_container_cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d41bef4

Please sign in to comment.