Skip to content

Commit 647fd32

Browse files
committed
fix lint issues
Signed-off-by: Markus Blaschke <[email protected]>
1 parent a546ff6 commit 647fd32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/config_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ func stringPtr(val string) *string {
1616
func buildNode() *corev1.Node {
1717
node := corev1.Node{}
1818
node.Spec.ProviderID = "azure:///subscriptions/d86bcf13-ddf7-45ea-82f1-6f656767a318/resourceGroups/mc_k8s_mblaschke_westeurope/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agents-35471996-vmss/virtualMachines/30"
19-
node.ObjectMeta.Annotations = map[string]string{
19+
node.Annotations = map[string]string{
2020
"node.kubernetes.io/foobar": "barfoo",
2121
}
22-
node.ObjectMeta.Labels = map[string]string{
22+
node.Labels = map[string]string{
2323
"node.kubernetes.io/role": "worker",
2424
}
2525

0 commit comments

Comments
 (0)