Skip to content

Commit

Permalink
[clone] small comment correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeliao committed Apr 30, 2024
1 parent 596c8bc commit 560583e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/multipass/vm_specs.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct VMSpecs
std::unordered_map<std::string, VMMount> mounts;
bool deleted;
QJsonObject metadata;
int clone_count = 0; // tracks the number of cloned vm from this source vm (regardless or deletes)
int clone_count = 0; // tracks the number of cloned vm from this source vm (regardless of deletes)
};

inline bool operator==(const VMSpecs& a, const VMSpecs& b)
Expand Down
2 changes: 1 addition & 1 deletion src/platform/backends/shared/base_virtual_machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class BaseVirtualMachine : public VirtualMachine
std::optional<SSHSession> ssh_session = std::nullopt;
SnapshotMap snapshots;
std::shared_ptr<Snapshot> head_snapshot = nullptr;
int snapshot_count = 0; // tracks the number of snapshots ever taken (regardless or deletes)
int snapshot_count = 0; // tracks the number of snapshots ever taken (regardless of deletes)
mutable std::recursive_mutex snapshot_mutex;
};

Expand Down

0 comments on commit 560583e

Please sign in to comment.