Skip to content

Commit

Permalink
revert file and var naming, add correct path to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
nddq authored Oct 4, 2023
1 parent a2e3640 commit ec93d6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package buildversion
package buildinfo

// this will be populate by the Go compiler via
// the -ldflags, which insert dynamic information
// into the binary at build time
var BuildVersion string
var Version string
4 changes: 2 additions & 2 deletions azure-ipam/ipam.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"io"
"net"

"github.com/Azure/azure-container-networking/azure-ipam/internal/buildversion"
"github.com/Azure/azure-container-networking/azure-ipam/internal/buildinfo"
"github.com/Azure/azure-container-networking/azure-ipam/ipconfig"
"github.com/Azure/azure-container-networking/cns"
cnscli "github.com/Azure/azure-container-networking/cns/client"
Expand Down Expand Up @@ -43,7 +43,7 @@ type cnsClient interface {
func NewPlugin(logger *zap.Logger, c cnsClient, out io.Writer) (*IPAMPlugin, error) {
plugin := &IPAMPlugin{
Name: pluginName,
Version: buildversion.BuildVersion,
Version: buildinfo.Version,
logger: logger,
out: out,
cnsClient: c,
Expand Down

0 comments on commit ec93d6b

Please sign in to comment.