Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/triggerrun/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func processTriggerSpec(kubeClient kubernetes.Interface, client triggersclientse
}
if iresp != nil {
if !iresp.Continue {
log.Errorf("interceptor stoppped trigger processing: %w", iresp.Status.Err())
log.Errorf("interceptor stopped trigger processing: %w", iresp.Status.Err())
}
}

Expand Down
2 changes: 1 addition & 1 deletion hack/update-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ for file in ${doc_files};do
fenced="true"
continue
fi
# If a non-empty line is deteced
# If a non-empty line is detected
if [[ ! ${line} =~ ${EMPTY} ]];then
fenced="false"
fi
Expand Down
2 changes: 1 addition & 1 deletion pkg/interceptors/cel/cel.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (w *InterceptorImpl) Process(ctx context.Context, r *triggersv1.Interceptor
}

// Empty JSON body bytes.
// We use []byte instead of map[string]interface{} to allow ovewriting keys using sjson.
// We use []byte instead of map[string]interface{} to allow overwriting keys using sjson.
var extensions []byte
for _, u := range p.Overlays {
val, err := evaluate(u.Expression, env, evalContext)
Expand Down
2 changes: 1 addition & 1 deletion pkg/interceptors/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type Server struct {
interceptors map[string]triggersv1.InterceptorInterface
}

// RegisterInterceptor sets up the interceptor to be served at the specfied path
// RegisterInterceptor sets up the interceptor to be served at the specified path
func (is *Server) RegisterInterceptor(path string, interceptor triggersv1.InterceptorInterface) {
if is.interceptors == nil {
is.interceptors = map[string]triggersv1.InterceptorInterface{}
Expand Down
4 changes: 2 additions & 2 deletions test/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function install_pipeline_crd() {
kubectl apply -f ${latestreleaseyaml} ||
fail_test "Tekton pipeline installation failed"

# Make sure that eveything is cleaned up in the current namespace.
# Make sure that everything is cleaned up in the current namespace.
for res in tasks pipelines taskruns pipelineruns; do
kubectl delete --ignore-not-found=true ${res}.tekton.dev --all
done
Expand Down Expand Up @@ -77,7 +77,7 @@ function install_triggers_crd() {

kubectl apply -f "${release}" || fail_test "Core interceptors installation failed"

# Make sure that eveything is cleaned up in the current namespace.
# Make sure that everything is cleaned up in the current namespace.
for res in eventlistener triggertemplate triggerbinding clustertriggerbinding; do
kubectl delete --ignore-not-found=true ${res}.triggers.tekton.dev --all
done
Expand Down
2 changes: 1 addition & 1 deletion test/e2e-tests-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ curl_knative_service() {

bash ${REPO_ROOT_DIR}/examples/${current_example_version}/${current_example}/curl.sh $forwardingPort $host

# kill the process which ran eith port-forwarding
# kill the process which ran with port-forwarding
ps -ef | grep $forwardingPort | grep -v grep | awk '{print $2}' | xargs kill
}

Expand Down
2 changes: 1 addition & 1 deletion test/setup-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ docker run -d --restart=always \
docker network connect "kind" "$REGISTRY_NAME"

# Make the $REGISTRY_NAME -> 127.0.0.1, to tell `ko` to publish to
# local reigstry, even when pushing $REGISTRY_NAME:$REGISTRY_PORT/some/image
# local registry, even when pushing $REGISTRY_NAME:$REGISTRY_PORT/some/image
echo "127.0.0.1 $REGISTRY_NAME" | sudo tee -a /etc/hosts

# Create a registry-credentials secret and attach it to the list of service accounts in the namespace.
Expand Down
Loading