mirror of
https://github.com/89luca89/distrobox.git
synced 2026-08-18 17:04:48 -05:00
chore(enter): fix gofmt alignment
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ func newEnterCommand(cfg *config.Values) *cli.Command {
|
||||
&cli.BoolFlag{
|
||||
Name: "exec",
|
||||
Aliases: []string{"e"},
|
||||
Usage: "end arguments: execute the rest as command to execute at login\n" +
|
||||
Usage: "end arguments: execute the rest as command to execute at login\n" +
|
||||
"(equivalent to the bare `--` separator; the custom command is\n" +
|
||||
"always taken from the positional args after the container name)",
|
||||
},
|
||||
|
||||
@@ -33,16 +33,18 @@ func (s *spyContainerManager) Enter(_ context.Context, opts containermanager.Ent
|
||||
|
||||
// The remaining methods are stubs to satisfy containermanager.ContainerManager.
|
||||
// enterAction never reaches them.
|
||||
func (s *spyContainerManager) Name() string { return "spy" }
|
||||
func (s *spyContainerManager) CloneAsRoot() containermanager.ContainerManager { return s }
|
||||
func (s *spyContainerManager) Create(_ context.Context, _ containermanager.CreateOptions) error { return nil }
|
||||
func (s *spyContainerManager) Name() string { return "spy" }
|
||||
func (s *spyContainerManager) CloneAsRoot() containermanager.ContainerManager { return s }
|
||||
func (s *spyContainerManager) Create(_ context.Context, _ containermanager.CreateOptions) error {
|
||||
return nil
|
||||
}
|
||||
func (s *spyContainerManager) ListContainers(_ context.Context) ([]containermanager.Container, error) {
|
||||
return nil, nil
|
||||
}
|
||||
func (s *spyContainerManager) Remove(_ context.Context, _ string, _ containermanager.RmOptions) error {
|
||||
return nil
|
||||
}
|
||||
func (s *spyContainerManager) Exists(_ context.Context, _ string) bool { return false }
|
||||
func (s *spyContainerManager) Exists(_ context.Context, _ string) bool { return false }
|
||||
func (s *spyContainerManager) Stop(_ context.Context, _ []string) error { return nil }
|
||||
func (s *spyContainerManager) InspectContainer(_ context.Context, _ string) (*containermanager.InspectResult, error) {
|
||||
return &containermanager.InspectResult{}, nil
|
||||
|
||||
Reference in New Issue
Block a user