Skip to content

Commit

Permalink
fix azblob
Browse files Browse the repository at this point in the history
  • Loading branch information
jpicht committed Mar 14, 2022
1 parent df230f6 commit e8b93f0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/azblob/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ import (
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"
"github.com/jpicht/azcat/actions"
"github.com/jpicht/azcat/internal"
"github.com/sirupsen/logrus"
"github.com/spf13/pflag"
)

var (
log = logrus.StandardLogger().WithField("module", "main")
log = internal.GetLog("azblob")

debug = pflag.BoolP("debug", "d", false, "Enable debug output")
list = pflag.BoolP("list", "l", false, "Enable list mode")
read = pflag.BoolP("read", "r", false, "Enable read mode")
remove = pflag.BoolP("remove", "x", false, "Enable remove mode")
Expand All @@ -21,10 +19,6 @@ var (
func main() {
pflag.Parse()

if *debug {
logrus.StandardLogger().SetLevel(logrus.DebugLevel)
}

mode := getExplicitMode()

parsed, err := azblob.NewBlobURLParts(pflag.Arg(0))
Expand Down

0 comments on commit e8b93f0

Please sign in to comment.