mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
19 lines
516 B
Go
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
|
|
}
|