From 50f722d0bd4a1f2df7c09acf57a33d2f2afc55a4 Mon Sep 17 00:00:00 2001 From: Gerrit Date: Fri, 8 Nov 2024 14:16:23 +0100 Subject: [PATCH] Pin --- cmd/partition.go | 4 +++- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cmd/partition.go b/cmd/partition.go index ca042d21..96785d8e 100644 --- a/cmd/partition.go +++ b/cmd/partition.go @@ -27,7 +27,7 @@ func newPartitionCmd(c *config) *cobra.Command { cmdsConfig := &genericcli.CmdsConfig[*models.V1PartitionCreateRequest, *models.V1PartitionUpdateRequest, *models.V1PartitionResponse]{ BinaryName: binaryName, - GenericCLI: genericcli.NewGenericCLI[*models.V1PartitionCreateRequest, *models.V1PartitionUpdateRequest, *models.V1PartitionResponse](w).WithFS(c.fs), + GenericCLI: genericcli.NewGenericCLI(w).WithFS(c.fs), Singular: "partition", Plural: "partitions", Description: "a partition is a failure domain in the data center.", @@ -152,6 +152,8 @@ func partitionResponseToUpdate(r *models.V1PartitionResponse) *models.V1Partitio Mgmtserviceaddress: r.Mgmtserviceaddress, Name: r.Name, Labels: r.Labels, + DNSServers: r.DNSServers, + NtpServers: r.NtpServers, } } diff --git a/go.mod b/go.mod index b8cc3b3d..66e64247 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/go-openapi/strfmt v0.23.0 github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.6.0 - github.com/metal-stack/metal-go v0.39.0 + github.com/metal-stack/metal-go v0.39.1 github.com/metal-stack/metal-lib v0.19.0 github.com/metal-stack/updater v1.2.2 github.com/metal-stack/v v1.0.3 diff --git a/go.sum b/go.sum index b9841c3f..900404ac 100644 --- a/go.sum +++ b/go.sum @@ -244,8 +244,8 @@ github.com/mdlayher/sdnotify v1.0.0 h1:Ma9XeLVN/l0qpyx1tNeMSeTjCPH6NtuD6/N9XdTlQ github.com/mdlayher/sdnotify v1.0.0/go.mod h1:HQUmpM4XgYkhDLtd+Uad8ZFK1T9D5+pNxnXQjCeJlGE= github.com/mdlayher/socket v0.5.1 h1:VZaqt6RkGkt2OE9l3GcC6nZkqD3xKeQLyfleW/uBcos= github.com/mdlayher/socket v0.5.1/go.mod h1:TjPLHI1UgwEv5J1B5q0zTZq12A/6H7nKmtTanQE37IQ= -github.com/metal-stack/metal-go v0.39.0 h1:gEk92sfwMUsyuDViPxYH7EGmj+9a4SbGPU7HcKz1xKU= -github.com/metal-stack/metal-go v0.39.0/go.mod h1:ltItf/Md/z588c7Dr3X6iemCeOFh3rJ8nDL5Dpb9zFQ= +github.com/metal-stack/metal-go v0.39.1 h1:oarRe7KbcvsOfjCLbXwlVVHJfX5AMlWxoCQrRpmbdrA= +github.com/metal-stack/metal-go v0.39.1/go.mod h1:ltItf/Md/z588c7Dr3X6iemCeOFh3rJ8nDL5Dpb9zFQ= github.com/metal-stack/metal-lib v0.19.0 h1:4yBnp/jPGgX9KeCje3A4MFL2oDjgjOjgsIK391LltRI= github.com/metal-stack/metal-lib v0.19.0/go.mod h1:fCMaWwVGA/xAoGvBk72/nfzqBkHly0iOzrWpc55Fau4= github.com/metal-stack/security v0.9.0 h1:FYBXJfNJwUw2E0HBa+jay37XF7b6EikEuf4Mw8u04EY=