mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository. Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
13 lines
284 B
Go
13 lines
284 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package jobspec
|
|
|
|
// These functions are copied from helper/funcs.go
|
|
// added here to avoid jobspec depending on any other package
|
|
|
|
// intToPtr returns the pointer to an int
|
|
func intToPtr(i int) *int {
|
|
return &i
|
|
}
|