@@ -41,8 +41,8 @@ public class PluginSettings {
41
41
private String clusterUrl ;
42
42
43
43
@ Expose
44
- @ SerializedName ("oauth_token " )
45
- private String oauthToken ;
44
+ @ SerializedName ("security_token " )
45
+ private String securityToken ;
46
46
47
47
@ Expose
48
48
@ SerializedName ("kubernetes_cluster_ca_cert" )
@@ -86,8 +86,8 @@ public String getGoServerUrl() {
86
86
return goServerUrl ;
87
87
}
88
88
89
- public String getOauthToken () {
90
- return oauthToken ;
89
+ public String getSecurityToken () {
90
+ return securityToken ;
91
91
}
92
92
93
93
public String getClusterUrl () {
@@ -127,7 +127,7 @@ public boolean equals(Object o) {
127
127
if (maxPendingPods != null ? !maxPendingPods .equals (that .maxPendingPods ) : that .maxPendingPods != null )
128
128
return false ;
129
129
if (clusterUrl != null ? !clusterUrl .equals (that .clusterUrl ) : that .clusterUrl != null ) return false ;
130
- if (oauthToken != null ? !oauthToken .equals (that .oauthToken ) : that .oauthToken != null ) return false ;
130
+ if (securityToken != null ? !securityToken .equals (that .securityToken ) : that .securityToken != null ) return false ;
131
131
if (clusterCACertData != null ? !clusterCACertData .equals (that .clusterCACertData ) : that .clusterCACertData != null )
132
132
return false ;
133
133
return namespace != null ? namespace .equals (that .namespace ) : that .namespace == null ;
@@ -139,7 +139,7 @@ public int hashCode() {
139
139
result = 31 * result + (autoRegisterTimeout != null ? autoRegisterTimeout .hashCode () : 0 );
140
140
result = 31 * result + (maxPendingPods != null ? maxPendingPods .hashCode () : 0 );
141
141
result = 31 * result + (clusterUrl != null ? clusterUrl .hashCode () : 0 );
142
- result = 31 * result + (oauthToken != null ? oauthToken .hashCode () : 0 );
142
+ result = 31 * result + (securityToken != null ? securityToken .hashCode () : 0 );
143
143
result = 31 * result + (clusterCACertData != null ? clusterCACertData .hashCode () : 0 );
144
144
result = 31 * result + (namespace != null ? namespace .hashCode () : 0 );
145
145
return result ;
0 commit comments