mirror of https://github.com/k3s-io/k3s
remove repetitive word in annotation
parent
6f897af2da
commit
3ac9b27b2a
|
@ -655,7 +655,7 @@ func (o *RunOptions) createGeneratedObject(f cmdutil.Factory, cmd *cobra.Command
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// run has compiled knowledge of the thing is is creating
|
||||
// run has compiled knowledge of the thing is creating
|
||||
gvks, _, err := scheme.Scheme.ObjectKinds(obj)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
@ -110,7 +110,7 @@ func TestMatchImageTagOrSHA(t *testing.T) {
|
|||
Output: true,
|
||||
},
|
||||
{
|
||||
// RepoDigest match is is required
|
||||
// RepoDigest match is required
|
||||
Inspected: dockertypes.ImageInspect{
|
||||
ID: "",
|
||||
RepoDigests: []string{"docker.io/centos/ruby-23-centos7@sha256:000084acbbfb0347272112d2eb95574625c0c60b4e2fdadb139de5859cf754bf"},
|
||||
|
|
|
@ -259,7 +259,7 @@ func (c *cacheBasedManager) UnregisterPod(pod *v1.Pod) {
|
|||
// necessary for registered pods.
|
||||
// It implements the following logic:
|
||||
// - whenever a pod is created or updated, the cached versions of all objects
|
||||
// is is referencing are invalidated
|
||||
// is referencing are invalidated
|
||||
// - every GetObject() call tries to fetch the value from local cache; if it is
|
||||
// not there, invalidated or too old, we fetch it from apiserver and refresh the
|
||||
// value in cache; otherwise it is just fetched from cache
|
||||
|
|
|
@ -212,7 +212,7 @@ func (attacher *cinderDiskAttacher) VolumesAreAttached(specs []*volume.Spec, nod
|
|||
}
|
||||
|
||||
func (attacher *cinderDiskAttacher) WaitForAttach(spec *volume.Spec, devicePath string, _ *v1.Pod, timeout time.Duration) (string, error) {
|
||||
// NOTE: devicePath is is path as reported by Cinder, which may be incorrect and should not be used. See Issue #33128
|
||||
// NOTE: devicePath is path as reported by Cinder, which may be incorrect and should not be used. See Issue #33128
|
||||
volumeID, _, _, err := getVolumeInfo(spec)
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
|
Loading…
Reference in New Issue