Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
Signed-off-by: rvigus <roryvigus@gmail.com>
  • Loading branch information
rvigus committed Sep 7, 2023
1 parent dd7bc4f commit 48f9952
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cmdtrace/cmd_span.go
Expand Up @@ -20,7 +20,6 @@ import (
"context"
"errors"
"fmt"
flag "github.com/spf13/pflag"
"sort"
"strings"
"time"
Expand All @@ -30,6 +29,7 @@ import (
commands "github.com/docker/compose/v2/cmd/compose"
"github.com/docker/compose/v2/internal/tracing"
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"
Expand Down
19 changes: 18 additions & 1 deletion cmd/cmdtrace/cmd_span_test.go
@@ -1,9 +1,26 @@
/*
Copyright 2020 Docker Compose CLI authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmdtrace

import (
flag "github.com/spf13/pflag"
"reflect"
"testing"

flag "github.com/spf13/pflag"
)

func TestGetFlags(t *testing.T) {
Expand Down

0 comments on commit 48f9952

Please sign in to comment.