From 82e0bef90b6e62403a220bd2a674cb03de394069 Mon Sep 17 00:00:00 2001 From: tzununbekov Date: Wed, 6 May 2020 11:25:19 +0600 Subject: [PATCH] Comment fixes --- gitlab/cmd/webhook/main.go | 2 +- gitlab/pkg/apis/bindings/v1alpha1/gitlabbinding_lifecycle.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gitlab/cmd/webhook/main.go b/gitlab/cmd/webhook/main.go index da1e75169c..29ba276f8f 100644 --- a/gitlab/cmd/webhook/main.go +++ b/gitlab/cmd/webhook/main.go @@ -1,5 +1,5 @@ /* -Copyright 2018 The Knative Authors +Copyright 2020 The Knative Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/gitlab/pkg/apis/bindings/v1alpha1/gitlabbinding_lifecycle.go b/gitlab/pkg/apis/bindings/v1alpha1/gitlabbinding_lifecycle.go index b8364978ff..1adf5e4bde 100644 --- a/gitlab/pkg/apis/bindings/v1alpha1/gitlabbinding_lifecycle.go +++ b/gitlab/pkg/apis/bindings/v1alpha1/gitlabbinding_lifecycle.go @@ -110,7 +110,7 @@ func (sb *GitLabBinding) Do(ctx context.Context, ps *duckv1.WithPod) { func (sb *GitLabBinding) Undo(ctx context.Context, ps *duckv1.WithPod) { spec := ps.Spec.Template.Spec - // Make sure the PodSpec does NOT have the github volume. + // Make sure the PodSpec does NOT have the gitlab volume. for i, v := range spec.Volumes { if v.Name == gitlab.VolumeName { ps.Spec.Template.Spec.Volumes = append(spec.Volumes[:i], spec.Volumes[i+1:]...) @@ -118,7 +118,7 @@ func (sb *GitLabBinding) Undo(ctx context.Context, ps *duckv1.WithPod) { } } - // Make sure that none of the [init]containers have the github volume mount + // Make sure that none of the [init]containers have the gitlab volume mount for i, c := range spec.InitContainers { for j, vm := range c.VolumeMounts { if vm.Name == gitlab.VolumeName {