mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-06 04:46:25 +02:00
Convert to Go 1.17 go:build directive (#13579)
This commit is contained in:
parent
7353573d9a
commit
377f7459af
@ -1,4 +1,4 @@
|
||||
// +build go1.11 go1.12 go1.13 go1.14 go1.15
|
||||
//go:build go1.11 || go1.12 || go1.13 || go1.14 || go1.15
|
||||
|
||||
package pkcs7
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build windows
|
||||
//go:build windows
|
||||
|
||||
package winsvc
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !windows
|
||||
//go:build !windows
|
||||
|
||||
package command
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build windows
|
||||
//go:build windows
|
||||
|
||||
package command
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !fips_140_3
|
||||
//go:build !fips_140_3
|
||||
|
||||
package config
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !race
|
||||
//go:build !race
|
||||
|
||||
package command
|
||||
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
//go:build !race
|
||||
// +build !race
|
||||
|
||||
package command
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !race
|
||||
//go:build !race
|
||||
|
||||
package command
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !race
|
||||
//go:build !race
|
||||
|
||||
package command
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package server
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package server
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package server
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !memprofiler
|
||||
//go:build !memprofiler
|
||||
|
||||
package command
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build memprofiler
|
||||
//go:build memprofiler
|
||||
|
||||
package command
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !race,!hsm,!fips_140_3
|
||||
//go:build !race && !hsm && !fips_140_3
|
||||
|
||||
// NOTE: we can't use this with HSM. We can't set testing mode on and it's not
|
||||
// safe to use env vars since that provides an attack vector in the real world.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package constants
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !fips_140_3
|
||||
//go:build !fips_140_3
|
||||
|
||||
package constants
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !openbsd
|
||||
//go:build !openbsd
|
||||
|
||||
package hostutil
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build openbsd
|
||||
//go:build openbsd
|
||||
|
||||
package hostutil
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package testhelpers
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build ui
|
||||
//go:build ui
|
||||
|
||||
package http
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !ui
|
||||
//go:build !ui
|
||||
|
||||
package http
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package configutil
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build foundationdb
|
||||
//go:build foundationdb
|
||||
|
||||
package foundationdb
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build foundationdb
|
||||
//go:build foundationdb
|
||||
|
||||
package foundationdb
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !foundationdb
|
||||
//go:build !foundationdb
|
||||
|
||||
package foundationdb
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build 386 arm
|
||||
//go:build 386 || arm
|
||||
|
||||
package raft
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !386,!arm
|
||||
//go:build !386 && !arm
|
||||
|
||||
package raft
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package raft
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build 386 arm
|
||||
//go:build 386 || arm
|
||||
|
||||
package raft
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !386,!arm
|
||||
//go:build !386 && !arm
|
||||
|
||||
package raft
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build cgo
|
||||
//go:build cgo
|
||||
|
||||
package version
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build tools
|
||||
//go:build tools
|
||||
|
||||
// This file ensures tool dependencies are kept in sync. This is the
|
||||
// recommended way of doing this according to
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build deadlock
|
||||
//go:build deadlock
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !windows
|
||||
//go:build !windows
|
||||
|
||||
package diagnose
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build windows
|
||||
//go:build windows
|
||||
|
||||
package diagnose
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !openbsd !arm
|
||||
//go:build !openbsd || !arm
|
||||
|
||||
package diagnose
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build openbsd,arm
|
||||
//go:build openbsd && arm
|
||||
|
||||
package diagnose
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !windows
|
||||
//go:build !windows
|
||||
|
||||
package diagnose
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build windows
|
||||
//go:build windows
|
||||
|
||||
package diagnose
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !deadlock
|
||||
//go:build !deadlock
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package quotas
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package replication
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// +build !enterprise
|
||||
//go:build !enterprise
|
||||
|
||||
package vault
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user