Skip to content

Commit

Permalink
Added --name flag for credential selection; Added subcommand tests
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Eschenbach <patrickeschenbach96@gmail.com>
  • Loading branch information
qcserestipy committed Dec 22, 2024
1 parent 297cadf commit a50950f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/harbor/root/config/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -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'",
Expand Down

0 comments on commit a50950f

Please sign in to comment.