mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-06 09:04:27 +00:00
Rename CreateInstanceRequest to CreateInstanceOptions and update related functions for consistency
This commit is contained in:
@@ -32,7 +32,7 @@ func validateStringForInjection(value string) error {
|
||||
}
|
||||
|
||||
// ValidateInstanceOptions performs minimal security validation
|
||||
func ValidateInstanceOptions(options *CreateInstanceRequest) error {
|
||||
func ValidateInstanceOptions(options *CreateInstanceOptions) error {
|
||||
if options == nil {
|
||||
return ValidationError(fmt.Errorf("options cannot be nil"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user