Skip to content

Commit

Permalink
Prepare 0.8.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mszumocki-reef committed Mar 27, 2022
1 parent 45b4975 commit 82f2ca3
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ package main

import (
"bufio"
"context"
"flag"
"io"
"io/ioutil"
Expand Down Expand Up @@ -95,14 +94,6 @@ func main() {
}
defer os.Remove(pkgerOutput)

opts := &plugin.ServeOpts{ProviderFunc: b2.New(version, pkgerOutput)}
if debugMode {
err := plugin.Debug(context.Background(), "registry.terraform.io/Backblaze/b2", opts)
if err != nil {
log.Fatal(err.Error())
return
}
} else {
plugin.Serve(opts)
}
opts := &plugin.ServeOpts{ProviderFunc: b2.New(version, pkgerOutput), Debug: debugMode}
plugin.Serve(opts)
}

0 comments on commit 82f2ca3

Please sign in to comment.