mirror of
https://github.com/89luca89/distrobox.git
synced 2026-08-17 16:34:42 -05:00
fix: codespell issues
This commit is contained in:
@@ -201,7 +201,7 @@ func (c Container) IsRunning() bool {
|
||||
|
||||
// NeedsMigrationFromLabels is the shared rule for whether a container's
|
||||
// labels indicate it predates the current distrobox schema. A missing or
|
||||
// unparseable distrobox.version label is treated as version 0, which means
|
||||
// unparsable distrobox.version label is treated as version 0, which means
|
||||
// the container always needs migration. This is the one-time cost of
|
||||
// rolling out the version-label scheme: pre-existing v2 containers get
|
||||
// recreated once to be tagged, then permanently skipped.
|
||||
|
||||
@@ -649,7 +649,7 @@ func (d *Docker) Commit(ctx context.Context, containerID string, tag string) err
|
||||
|
||||
// NeedsMigration reports whether the named container was created with a
|
||||
// distrobox schema version older than the one this binary supports. A
|
||||
// container with no distrobox.version label (or with an unparseable one)
|
||||
// container with no distrobox.version label (or with an unparsable one)
|
||||
// is treated as schema version 0, so it always needs migration.
|
||||
func (d *Docker) NeedsMigration(ctx context.Context, containerName string) (bool, error) {
|
||||
inspect, err := d.InspectContainer(ctx, containerName)
|
||||
|
||||
@@ -795,7 +795,7 @@ func (p *Podman) Commit(ctx context.Context, containerID string, tag string) err
|
||||
|
||||
// NeedsMigration reports whether the named container was created with a
|
||||
// distrobox schema version older than the one this binary supports. A
|
||||
// container with no distrobox.version label (or with an unparseable one)
|
||||
// container with no distrobox.version label (or with an unparsable one)
|
||||
// is treated as schema version 0, so it always needs migration.
|
||||
func (p *Podman) NeedsMigration(ctx context.Context, containerName string) (bool, error) {
|
||||
inspect, err := p.InspectContainer(ctx, containerName)
|
||||
|
||||
Reference in New Issue
Block a user