Skip to content

Commit 02f20ef

Browse files
author
cmxiao
committed
fix: fix typo
1 parent a722e45 commit 02f20ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/cleanup/local_registry.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ package cleanup
22

33
import (
44
"context"
5-
"github.com/loft-sh/devspace/pkg/devspace/build/localregistry"
65

76
"github.com/loft-sh/devspace/cmd/flags"
7+
"github.com/loft-sh/devspace/pkg/devspace/build/localregistry"
88
"github.com/loft-sh/devspace/pkg/devspace/kubectl"
99
"github.com/loft-sh/devspace/pkg/util/factory"
1010
"github.com/loft-sh/devspace/pkg/util/message"
@@ -110,7 +110,7 @@ func (cmd *localRegistryCmd) RunCleanupLocalRegistry(f factory.Factory, cobraCmd
110110
if kerrors.IsNotFound(err) {
111111
hasDeployment = false
112112
} else {
113-
return errors.Wrap(err, "clean up statefulset")
113+
return errors.Wrap(err, "clean up deployment")
114114
}
115115
}
116116

@@ -120,7 +120,7 @@ func (cmd *localRegistryCmd) RunCleanupLocalRegistry(f factory.Factory, cobraCmd
120120
if kerrors.IsNotFound(err) {
121121
hasService = false
122122
} else {
123-
return errors.Wrap(err, "clean up statefulset")
123+
return errors.Wrap(err, "clean up service")
124124
}
125125
}
126126

0 commit comments

Comments
 (0)