From ceaf6888cdc3e9faf7b40fbba8ddd77006b40b46 Mon Sep 17 00:00:00 2001 From: Adesh Deshmukh Date: Tue, 16 Jun 2026 01:29:21 +0530 Subject: [PATCH] fix: correct package declarations in 6 view files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes copy-paste errors where wrong package names were left behind when files were duplicated from other directories. - artifact/select/view.go: registry -> artifact - artifact/tags/select/view.go: registry -> tags - repository/select/view.go: project -> repository - webhook/select/view.go: project -> webhook - label/select/view.go: delete -> label - replication/task/list/view.go: view -> list No caller changes needed — all imports use explicit aliases. Signed-off-by: Adesh Deshmukh Fixes #2 --- pkg/views/artifact/select/view.go | 2 +- pkg/views/artifact/tags/select/view.go | 2 +- pkg/views/label/select/view.go | 2 +- pkg/views/replication/task/list/view.go | 2 +- pkg/views/repository/select/view.go | 2 +- pkg/views/webhook/select/view.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/views/artifact/select/view.go b/pkg/views/artifact/select/view.go index 5dd440321..b13deb67c 100644 --- a/pkg/views/artifact/select/view.go +++ b/pkg/views/artifact/select/view.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package registry +package artifact import ( "fmt" diff --git a/pkg/views/artifact/tags/select/view.go b/pkg/views/artifact/tags/select/view.go index 750081346..445d4095f 100644 --- a/pkg/views/artifact/tags/select/view.go +++ b/pkg/views/artifact/tags/select/view.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package registry +package tags import ( "fmt" diff --git a/pkg/views/label/select/view.go b/pkg/views/label/select/view.go index 37f17b3e1..8fb9e1e54 100644 --- a/pkg/views/label/select/view.go +++ b/pkg/views/label/select/view.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package delete +package label import ( "fmt" diff --git a/pkg/views/replication/task/list/view.go b/pkg/views/replication/task/list/view.go index 0f9f20297..59d293389 100644 --- a/pkg/views/replication/task/list/view.go +++ b/pkg/views/replication/task/list/view.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package view +package list import ( "fmt" diff --git a/pkg/views/repository/select/view.go b/pkg/views/repository/select/view.go index ff91e5174..75979392f 100644 --- a/pkg/views/repository/select/view.go +++ b/pkg/views/repository/select/view.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package project +package repository import ( "fmt" diff --git a/pkg/views/webhook/select/view.go b/pkg/views/webhook/select/view.go index bf418ff8f..55070900d 100644 --- a/pkg/views/webhook/select/view.go +++ b/pkg/views/webhook/select/view.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package project +package webhook import ( "errors"