Merge pull request #5885 from mooncak/fix_typos

Fix typos issues
This commit is contained in:
k8s-ci-robot 2018-10-08 20:02:16 -07:00 committed by GitHub
commit 12930a6559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ $(document).ready(function() {
currL1Nav = getNavNode(activeSection.token); currL1Nav = getNavNode(activeSection.token);
currL1Nav.show('fast'); currL1Nav.show('fast');
} }
// If active active is not the same as previous, hide previous L1Nav and show current L1Nav; set previous to current // If active is not the same as previous, hide previous L1Nav and show current L1Nav; set previous to current
else if (activeSection.token !== prevSectionToken) { else if (activeSection.token !== prevSectionToken) {
prevL1Nav = getNavNode(prevSectionToken); prevL1Nav = getNavNode(prevSectionToken);
currL1Nav = getNavNode(activeSection.token); currL1Nav = getNavNode(activeSection.token);

View File

@ -325,7 +325,7 @@ type LoadBalancerAccessSpec struct {
AdditionalSecurityGroups []string `json:"additionalSecurityGroups,omitempty"` AdditionalSecurityGroups []string `json:"additionalSecurityGroups,omitempty"`
// UseForInternalApi indicates wether the LB should be used by the kubelet // UseForInternalApi indicates wether the LB should be used by the kubelet
UseForInternalApi bool `json:"useForInternalApi,omitempty"` UseForInternalApi bool `json:"useForInternalApi,omitempty"`
// SSLCertificate allows you to specify the ACM cert to be used the the LB // SSLCertificate allows you to specify the ACM cert to be used the LB
SSLCertificate string `json:"sslCertificate,omitempty"` SSLCertificate string `json:"sslCertificate,omitempty"`
} }

View File

@ -71,7 +71,7 @@ var AllInstanceGroupRoles = []InstanceGroupRole{
type InstanceGroupSpec struct { type InstanceGroupSpec struct {
// Type determines the role of instances in this group: masters or nodes // Type determines the role of instances in this group: masters or nodes
Role InstanceGroupRole `json:"role,omitempty"` Role InstanceGroupRole `json:"role,omitempty"`
// Image is the instance instance (ami etc) we should use // Image is the instance (ami etc) we should use
Image string `json:"image,omitempty"` Image string `json:"image,omitempty"`
// MinSize is the minimum size of the pool // MinSize is the minimum size of the pool
MinSize *int32 `json:"minSize,omitempty"` MinSize *int32 `json:"minSize,omitempty"`

View File

@ -48,7 +48,7 @@ func TestUnitFileExtensionValid(t *testing.T) {
}) })
} }
// Add two testcases for no extension and and invalid extension. // Add two testcases for no extension and invalid extension.
testcases = append(testcases, testCase{ testcases = append(testcases, testCase{
"invalid extension: (no extension)", "invalid extension: (no extension)",
"my-unit", "my-unit",