Enable dupword linter
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
@@ -377,7 +377,7 @@ func (c *criService) runtimeSpec(id string, baseSpecFile string, opts ...oci.Spe
|
||||
}
|
||||
|
||||
// Overrides the default snapshotter if Snapshotter is set for this runtime.
|
||||
// See See https://github.com/containerd/containerd/issues/6657
|
||||
// See https://github.com/containerd/containerd/issues/6657
|
||||
func (c *criService) runtimeSnapshotter(ctx context.Context, ociRuntime criconfig.Runtime) string {
|
||||
if ociRuntime.Snapshotter == "" {
|
||||
return c.config.ContainerdConfig.Snapshotter
|
||||
|
||||
@@ -1537,7 +1537,7 @@ func (in *instrumentedService) UpdateRuntimeConfig(ctx context.Context, r *runti
|
||||
if err != nil {
|
||||
log.G(ctx).WithError(err).Error("UpdateRuntimeConfig failed")
|
||||
} else {
|
||||
log.G(ctx).Debug("UpdateRuntimeConfig returns returns successfully")
|
||||
log.G(ctx).Debug("UpdateRuntimeConfig returns successfully")
|
||||
}
|
||||
}()
|
||||
res, err = in.c.UpdateRuntimeConfig(ctrdutil.WithNamespace(ctx), r)
|
||||
@@ -1553,7 +1553,7 @@ func (in *instrumentedAlphaService) UpdateRuntimeConfig(ctx context.Context, r *
|
||||
if err != nil {
|
||||
log.G(ctx).WithError(err).Error("UpdateRuntimeConfig failed")
|
||||
} else {
|
||||
log.G(ctx).Debug("UpdateRuntimeConfig returns returns successfully")
|
||||
log.G(ctx).Debug("UpdateRuntimeConfig returns successfully")
|
||||
}
|
||||
}()
|
||||
// converts request and response for earlier CRI version to call and get response from the current version
|
||||
|
||||
Reference in New Issue
Block a user