Skip to content

Commit f5cf5b1

Browse files
kvapsclaude
andcommitted
style(linstor): regenerate patch with gofmt fix
Co-Authored-By: Claude <[email protected]> Signed-off-by: Andrei Kvapil <[email protected]>
1 parent c79926b commit f5cf5b1

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

‎packages/system/linstor/images/linstor-csi/patches/001-relocate-after-clone-restore.diff‎

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ index f544493..98e7fde 100644
240240
if res.State == nil {
241241
abnormalNodes = append(abnormalNodes, res.NodeName)
242242
diff --git a/pkg/volume/parameter.go b/pkg/volume/parameter.go
243-
index 39acd95..ec21572 100644
243+
index 39acd95..aed18ab 100644
244244
--- a/pkg/volume/parameter.go
245245
+++ b/pkg/volume/parameter.go
246246
@@ -50,6 +50,7 @@ const (
@@ -260,19 +260,11 @@ index 39acd95..ec21572 100644
260260
}
261261

262262
const DefaultDisklessStoragePoolName = "DfltDisklessStorPool"
263-
@@ -136,10 +139,11 @@ func NewParameters(params map[string]string, topologyPrefix string) (Parameters,
264-
Encryption: false,
265-
PlacementPolicy: topology.AutoPlaceTopology,
266-
Properties: make(map[string]string),
267-
- NfsConfigTemplatePath: "/etc/nfs-helper/default-config.tmpl",
268-
- NfsServiceName: "linstor-csi-nfs",
269-
- NfsSquash: "no_root_squash",
270-
- NfsRecoveryVolumeBytes: 300 * 1024 * 1024,
271-
+ NfsConfigTemplatePath: "/etc/nfs-helper/default-config.tmpl",
272-
+ NfsServiceName: "linstor-csi-nfs",
273-
+ NfsSquash: "no_root_squash",
274-
+ NfsRecoveryVolumeBytes: 300 * 1024 * 1024,
275-
+ RelocateAfterClone: false,
263+
@@ -140,6 +143,7 @@ func NewParameters(params map[string]string, topologyPrefix string) (Parameters,
264+
NfsServiceName: "linstor-csi-nfs",
265+
NfsSquash: "no_root_squash",
266+
NfsRecoveryVolumeBytes: 300 * 1024 * 1024,
267+
+ RelocateAfterClone: false,
276268
}
277269

278270
for k, v := range params {

0 commit comments

Comments
 (0)