Skip to content

Commit

Permalink
Fix some comments (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
pullmerge committed Apr 15, 2024
1 parent 8fb8c9f commit 4997a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubectx/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type DeleteOp struct {
// deleteContexts deletes context entries one by one.
func (op DeleteOp) Run(_, stderr io.Writer) error {
for _, ctx := range op.Contexts {
// TODO inefficency here. we open/write/close the same file many times.
// TODO inefficiency here. we open/write/close the same file many times.
deletedName, wasActiveContext, err := deleteContext(ctx)
if err != nil {
return errors.Wrapf(err, "error deleting context \"%s\"", deletedName)
Expand Down

0 comments on commit 4997a26

Please sign in to comment.