Merge pull request #47578 from thaJeztah/fix_resolvconf_go_version

resolvconf: add //go:build directives to prevent downgrading to go1.16 language
This commit is contained in:
Sebastiaan van Stijn 2024-03-18 14:00:03 +01:00 committed by GitHub
commit 307962dbd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,6 @@
// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
//go:build go1.21
// Package resolvconf is used to generate a container's /etc/resolv.conf file.
//
// Constructor Load and Parse read a resolv.conf file from the filesystem or