Files
nomad/drivers/rawexec/driver_windows.go
2024-10-29 15:24:12 +01:00

19 lines
516 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
//go:build windows
package rawexec
import (
"github.com/hashicorp/nomad/plugins/drivers"
)
func (d *Driver) Validate(cfg drivers.TaskConfig) error {
// This is a noop on windows since the uid and gid cannot be checked against a range easily
// We could eventually extend this functionality to check for individual users IDs strings
// but that is not currently supported. See driverValidators.HasValidIds for
// unix logic
return nil
}