Skip to content

Commit 2c76ea1

Browse files
Adddressing lint fixes
Signed-off-by: Vishesh Tanksale <vtanksale@nvidia.com>
1 parent 43ec968 commit 2c76ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/nimcache_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ func (r *NIMCacheReconciler) constructJob(ctx context.Context, nimCache *appsv1a
12581258
job.Spec.Template.Spec.Containers[0].Env = utils.MergeEnvVars(job.Spec.Template.Spec.Containers[0].Env, nimCache.Spec.Env)
12591259

12601260
// Inject custom CA certificates when running in a proxy envronment
1261-
if nimCache.Spec.CertConfig != nil {
1261+
if nimCache.Spec.CertConfig != nil { //nolint:staticcheck // checking for deprecated field
12621262
err := errors.NewBadRequest("Deprecated field 'CertConfig' is used. Please migrate to 'Proxy' field on NIMCache.\"")
12631263
logger.Error(err, err.Error())
12641264
return nil, err

0 commit comments

Comments
 (0)