Skip to content

Commit

Permalink
fix --addtag for vgcreate
Browse files Browse the repository at this point in the history
Resolves #49
  • Loading branch information
mwennrich committed Apr 27, 2021
1 parent b0bfb29 commit a885932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lvm/lvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func CreateVG(name string, devicesPattern string) (string, error) {
args := []string{"-v", name}
args = append(args, physicalVolumes...)
for _, tag := range tags {
args = append(args, "--add-tag", tag)
args = append(args, "--addtag", tag)
}
klog.Infof("create vg with command: vgcreate %v", args)
cmd := exec.Command("vgcreate", args...)
Expand Down

0 comments on commit a885932

Please sign in to comment.