-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workaround way to set exec as a pointer
- Loading branch information
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/pkg/tsuru/model_cluster_kube_config_user.go b/pkg/tsuru/model_cluster_kube_config_user.go | ||
index f4d70f3..a8704c2 100644 | ||
--- a/pkg/tsuru/model_cluster_kube_config_user.go | ||
+++ b/pkg/tsuru/model_cluster_kube_config_user.go | ||
@@ -14,7 +14,7 @@ type ClusterKubeConfigUser struct { | ||
ClientCertificateData string `json:"client-certificate-data,omitempty"` | ||
ClientKeyData string `json:"client-key-data,omitempty"` | ||
AuthProvider ClusterKubeConfigUserAuthprovider `json:"auth-provider,omitempty"` | ||
- Exec ClusterKubeConfigUserExec `json:"exec,omitempty"` | ||
+ Exec *ClusterKubeConfigUserExec `json:"exec,omitempty"` | ||
Token string `json:"token,omitempty"` | ||
Username string `json:"username,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters