Skip to content
/ incus Public
forked from lxc/incus

Commit

Permalink
incus/snapshot: Fix deletion of snapshots containing colons
Browse files Browse the repository at this point in the history
Closes lxc#39

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
  • Loading branch information
stgraber committed Apr 16, 2024
1 parent b6bce39 commit c46306c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/incus/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func (c *cmdSnapshotDelete) Run(cmd *cobra.Command, args []string) error {
}

// Parse remote
resources, err := c.global.ParseServers(args...)
resources, err := c.global.ParseServers(args[0])
if err != nil {
return err
}
Expand Down

0 comments on commit c46306c

Please sign in to comment.