From 4cd777a5e0e389fac74a7fd0ddbda833fc8d258f Mon Sep 17 00:00:00 2001 From: Frank Wessels Date: Wed, 31 Jan 2024 01:01:53 -0800 Subject: [PATCH] Correct small typo in pubsub (#18923) --- internal/pubsub/pubsub.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/pubsub/pubsub.go b/internal/pubsub/pubsub.go index 74131437c..2b8d4a065 100644 --- a/internal/pubsub/pubsub.go +++ b/internal/pubsub/pubsub.go @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2021 MinIO, Inc. +// Copyright (c) 2015-2024 MinIO, Inc. // // This file is part of MinIO Object Storage stack // @@ -50,7 +50,7 @@ type PubSub[T Maskable, M Maskable] struct { } // Publish message to the subscribers. -// Note that publish is always nob-blocking send so that we don't block on slow receivers. +// Note that publish is always non-blocking send so that we don't block on slow receivers. // Hence receivers should use buffered channel so as not to miss the published events. func (ps *PubSub[T, M]) Publish(item T) { ps.RLock()