From 9e4427e2f59557c30210f51f2e814667bb347ad7 Mon Sep 17 00:00:00 2001 From: Toshiaki Takahashi Date: Fri, 2 Nov 2018 10:09:11 +0000 Subject: src, docker: Change pkg import path of DMA Different repository from OPNFV repository was temporary used as our own go package paths of DMA. Since the DMA code was merged in OPNFV Barometer, we change the import path to the Barometer repository and we simplify Dockerfile. Change-Id: I49aba163d3bd93a9edb48ce10bd4f69a43c2e28a Signed-off-by: Toshiaki Takahashi (cherry picked from commit 354e06c7edcb9434d55c06bfab4de157f0e2d012) --- src/dma/cmd/infofetch/daemon.go | 2 +- src/dma/cmd/threshold/transmit.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dma') diff --git a/src/dma/cmd/infofetch/daemon.go b/src/dma/cmd/infofetch/daemon.go index d4ff94f5..3bb51bc3 100644 --- a/src/dma/cmd/infofetch/daemon.go +++ b/src/dma/cmd/infofetch/daemon.go @@ -19,9 +19,9 @@ package main import ( "context" "github.com/BurntSushi/toml" - "github.com/distributed-monitoring/agent/pkg/common" "github.com/go-redis/redis" libvirt "github.com/libvirt/libvirt-go" + "github.com/opnfv/barometer/src/dma/pkg/common" "log" "sync" ) diff --git a/src/dma/cmd/threshold/transmit.go b/src/dma/cmd/threshold/transmit.go index 8cac2a88..8c60cc1a 100644 --- a/src/dma/cmd/threshold/transmit.go +++ b/src/dma/cmd/threshold/transmit.go @@ -19,8 +19,8 @@ package main import ( "bytes" "fmt" - "github.com/distributed-monitoring/agent/pkg/common" "github.com/go-redis/redis" + "github.com/opnfv/barometer/src/dma/pkg/common" "strconv" "strings" "time" -- cgit 1.2.3-korg