Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
db28f73c
Commit
db28f73c
authored
Apr 19, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #24282 from goltermann/spelling
Automatic merge from submit-queue Fix misspellings in comments
parents
9ae35f87
c226c943
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
generator.go
cmd/libs/go2idl/generator/generator.go
+1
-1
procurement.go
contrib/mesos/pkg/scheduler/podtask/procurement.go
+1
-1
types.go
pkg/client/unversioned/clientcmd/api/types.go
+1
-1
types.go
pkg/client/unversioned/clientcmd/api/v1/types.go
+1
-1
aws.go
pkg/cloudprovider/providers/aws/aws.go
+1
-1
namespace_controller_utils.go
pkg/controller/namespace/namespace_controller_utils.go
+2
-2
volume_provisioning.go
test/e2e/volume_provisioning.go
+2
-2
No files found.
cmd/libs/go2idl/generator/generator.go
View file @
db28f73c
...
@@ -33,7 +33,7 @@ type Package interface {
...
@@ -33,7 +33,7 @@ type Package interface {
Path
()
string
Path
()
string
// Filter should return true if this package cares about this type.
// Filter should return true if this package cares about this type.
// Otherwise, this type will be om
m
itted from the type ordering for
// Otherwise, this type will be omitted from the type ordering for
// this package.
// this package.
Filter
(
*
Context
,
*
types
.
Type
)
bool
Filter
(
*
Context
,
*
types
.
Type
)
bool
...
...
contrib/mesos/pkg/scheduler/podtask/procurement.go
View file @
db28f73c
...
@@ -118,7 +118,7 @@ func (a AllOrNothingProcurement) Procure(t *T, n *api.Node, ps *ProcureState) er
...
@@ -118,7 +118,7 @@ func (a AllOrNothingProcurement) Procure(t *T, n *api.Node, ps *ProcureState) er
// NewNodeProcurement returns a Procurement that checks whether the given pod task and offer
// NewNodeProcurement returns a Procurement that checks whether the given pod task and offer
// have valid node informations available and wehther the pod spec node selector matches
// have valid node informations available and wehther the pod spec node selector matches
// the pod labels.
// the pod labels.
// If the check is successful
l
the slave ID and assigned slave is set in the given Spec.
// If the check is successful the slave ID and assigned slave is set in the given Spec.
func
NewNodeProcurement
()
Procurement
{
func
NewNodeProcurement
()
Procurement
{
return
ProcurementFunc
(
func
(
t
*
T
,
n
*
api
.
Node
,
ps
*
ProcureState
)
error
{
return
ProcurementFunc
(
func
(
t
*
T
,
n
*
api
.
Node
,
ps
*
ProcureState
)
error
{
// if the user has specified a target host, make sure this offer is for that host
// if the user has specified a target host, make sure this offer is for that host
...
...
pkg/client/unversioned/clientcmd/api/types.go
View file @
db28f73c
...
@@ -32,7 +32,7 @@ type Config struct {
...
@@ -32,7 +32,7 @@ type Config struct {
// DEPRECATED: APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc).
// DEPRECATED: APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc).
// Because a cluster can run multiple API groups and potentially multiple versions of each, it no longer makes sense to specify
// Because a cluster can run multiple API groups and potentially multiple versions of each, it no longer makes sense to specify
// a single value for the cluster version.
// a single value for the cluster version.
// This field isnt really needed anyway, so we are deprecating it without replacement.
// This field isn
'
t really needed anyway, so we are deprecating it without replacement.
// It will be ignored if it is present.
// It will be ignored if it is present.
APIVersion
string
`json:"apiVersion,omitempty"`
APIVersion
string
`json:"apiVersion,omitempty"`
// Preferences holds general information to be use for cli interactions
// Preferences holds general information to be use for cli interactions
...
...
pkg/client/unversioned/clientcmd/api/v1/types.go
View file @
db28f73c
...
@@ -31,7 +31,7 @@ type Config struct {
...
@@ -31,7 +31,7 @@ type Config struct {
// DEPRECATED: APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc).
// DEPRECATED: APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc).
// Because a cluster can run multiple API groups and potentially multiple versions of each, it no longer makes sense to specify
// Because a cluster can run multiple API groups and potentially multiple versions of each, it no longer makes sense to specify
// a single value for the cluster version.
// a single value for the cluster version.
// This field isnt really needed anyway, so we are deprecating it without replacement.
// This field isn
'
t really needed anyway, so we are deprecating it without replacement.
// It will be ignored if it is present.
// It will be ignored if it is present.
APIVersion
string
`json:"apiVersion,omitempty"`
APIVersion
string
`json:"apiVersion,omitempty"`
// Preferences holds general information to be use for cli interactions
// Preferences holds general information to be use for cli interactions
...
...
pkg/cloudprovider/providers/aws/aws.go
View file @
db28f73c
...
@@ -1947,7 +1947,7 @@ func findTag(tags []*ec2.Tag, key string) (string, bool) {
...
@@ -1947,7 +1947,7 @@ func findTag(tags []*ec2.Tag, key string) (string, bool) {
}
}
// Finds the subnets associated with the cluster, by matching tags.
// Finds the subnets associated with the cluster, by matching tags.
// For maximal backwards compat
a
bility, if no subnets are tagged, it will fall-back to the current subnet.
// For maximal backwards compat
i
bility, if no subnets are tagged, it will fall-back to the current subnet.
// However, in future this will likely be treated as an error.
// However, in future this will likely be treated as an error.
func
(
c
*
AWSCloud
)
findSubnets
()
([]
*
ec2
.
Subnet
,
error
)
{
func
(
c
*
AWSCloud
)
findSubnets
()
([]
*
ec2
.
Subnet
,
error
)
{
request
:=
&
ec2
.
DescribeSubnetsInput
{}
request
:=
&
ec2
.
DescribeSubnetsInput
{}
...
...
pkg/controller/namespace/namespace_controller_utils.go
View file @
db28f73c
...
@@ -244,7 +244,7 @@ func deleteEachItem(
...
@@ -244,7 +244,7 @@ func deleteEachItem(
}
}
// deleteAllContentForGroupVersionResource will use the dynamic client to delete each resource identified in gvr.
// deleteAllContentForGroupVersionResource will use the dynamic client to delete each resource identified in gvr.
// It returns an estimate of the time remaining before the remaing resources are deleted.
// It returns an estimate of the time remaining before the remain
in
g resources are deleted.
// If estimate > 0, not all resources are guaranteed to be gone.
// If estimate > 0, not all resources are guaranteed to be gone.
func
deleteAllContentForGroupVersionResource
(
func
deleteAllContentForGroupVersionResource
(
kubeClient
clientset
.
Interface
,
kubeClient
clientset
.
Interface
,
...
@@ -304,7 +304,7 @@ func deleteAllContentForGroupVersionResource(
...
@@ -304,7 +304,7 @@ func deleteAllContentForGroupVersionResource(
}
}
// deleteAllContent will use the dynamic client to delete each resource identified in groupVersionResources.
// deleteAllContent will use the dynamic client to delete each resource identified in groupVersionResources.
// It returns an estimate of the time remaining before the remaing resources are deleted.
// It returns an estimate of the time remaining before the remain
in
g resources are deleted.
// If estimate > 0, not all resources are guaranteed to be gone.
// If estimate > 0, not all resources are guaranteed to be gone.
func
deleteAllContent
(
func
deleteAllContent
(
kubeClient
clientset
.
Interface
,
kubeClient
clientset
.
Interface
,
...
...
test/e2e/volume_provisioning.go
View file @
db28f73c
...
@@ -33,7 +33,7 @@ const (
...
@@ -33,7 +33,7 @@ const (
// Requested size of the volume
// Requested size of the volume
requestedSize
=
"1500Mi"
requestedSize
=
"1500Mi"
// Expected size of the volume is 2GiB, because all three supported cloud
// Expected size of the volume is 2GiB, because all three supported cloud
// providers
allocate volumes in 1GiB chunks.
// providers allocate volumes in 1GiB chunks.
expectedSize
=
"2Gi"
expectedSize
=
"2Gi"
)
)
...
@@ -91,7 +91,7 @@ var _ = framework.KubeDescribe("Dynamic provisioning", func() {
...
@@ -91,7 +91,7 @@ var _ = framework.KubeDescribe("Dynamic provisioning", func() {
// We start two pods:
// We start two pods:
// - The first writes 'hello word' to the /mnt/test (= the volume).
// - The first writes 'hello word' to the /mnt/test (= the volume).
// - The second one runs grep 'hello world' on /mnt/test.
// - The second one runs grep 'hello world' on /mnt/test.
// If both suceed, Kubernetes actually allocated something that is
// If both suc
c
eed, Kubernetes actually allocated something that is
// persistent across pods.
// persistent across pods.
By
(
"checking the created volume is writable"
)
By
(
"checking the created volume is writable"
)
runInPodWithVolume
(
c
,
ns
,
claim
.
Name
,
"echo 'hello world' > /mnt/test/data"
)
runInPodWithVolume
(
c
,
ns
,
claim
.
Name
,
"echo 'hello world' > /mnt/test/data"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment