From a50950f61323f88131184428713b2b82548ec6e8 Mon Sep 17 00:00:00 2001 From: Patrick Eschenbach Date: Sun, 22 Dec 2024 14:00:30 +0100 Subject: [PATCH] Added --name flag for credential selection; Added subcommand tests Signed-off-by: Patrick Eschenbach --- cmd/harbor/root/config/update.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/harbor/root/config/update.go b/cmd/harbor/root/config/update.go index 96131a14..68239f1a 100644 --- a/cmd/harbor/root/config/update.go +++ b/cmd/harbor/root/config/update.go @@ -207,6 +207,7 @@ func setNestedValue(obj interface{}, path []string, newValue string, actualSegme fieldValue.SetInt(intVal) // If you need to handle other types (e.g. float, slice), add them here. + default: return fmt.Errorf( "unsupported field type '%s' for field '%s'",