mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 04:36:00 +00:00
Convert go_binary linkstamp to x_defs
This commit is contained in:
@@ -7,6 +7,7 @@ load(
|
||||
"go_binary",
|
||||
"go_library",
|
||||
)
|
||||
load("//pkg/version:def.bzl", "version_x_defs")
|
||||
|
||||
go_binary(
|
||||
name = "kube-scheduler",
|
||||
@@ -17,8 +18,8 @@ go_binary(
|
||||
"-static",
|
||||
],
|
||||
library = ":go_default_library",
|
||||
linkstamp = "k8s.io/kubernetes/pkg/version",
|
||||
tags = ["automanaged"],
|
||||
x_defs = version_x_defs(),
|
||||
)
|
||||
|
||||
go_library(
|
||||
|
Reference in New Issue
Block a user