Skip to content

Commit

Permalink
fix: pointer receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Jan 6, 2025
1 parent 0c5fa75 commit 5db2c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/os/connection/snapshot/partition.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (i PartitionInfo) RootDir() string {
return path.Join(i.MountPoint, i.bind)
}

func (i PartitionInfo) SetBind(bind string) PartitionInfo {
func (i *PartitionInfo) SetBind(bind string) *PartitionInfo {
i.bind = bind
return i
}

0 comments on commit 5db2c87

Please sign in to comment.