Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
mariash committed Jun 23, 2015
1 parent 9e4b385 commit 8fc285b
Show file tree
Hide file tree
Showing 139 changed files with 205 additions and 204 deletions.
2 changes: 1 addition & 1 deletion agent/action/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

boshappl "github.com/cloudfoundry/bosh-agent/agent/applier"
boshas "github.com/cloudfoundry/bosh-agent/agent/applier/applyspec"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
)

type ApplyAction struct {
Expand Down
6 changes: 3 additions & 3 deletions agent/action/concrete_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import (
boshcomp "github.com/cloudfoundry/bosh-agent/agent/compiler"
boshdrain "github.com/cloudfoundry/bosh-agent/agent/drain"
boshtask "github.com/cloudfoundry/bosh-agent/agent/task"
boshblob "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/blobstore"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
boshjobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor"
boshnotif "github.com/cloudfoundry/bosh-agent/notification"
boshplatform "github.com/cloudfoundry/bosh-agent/platform"
boshntp "github.com/cloudfoundry/bosh-agent/platform/ntp"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
boshblob "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/blobstore"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
)

type concreteFactory struct {
Expand Down
4 changes: 2 additions & 2 deletions agent/action/concrete_factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
fakecomp "github.com/cloudfoundry/bosh-agent/agent/compiler/fakes"
boshdrain "github.com/cloudfoundry/bosh-agent/agent/drain"
faketask "github.com/cloudfoundry/bosh-agent/agent/task/fakes"
fakeblobstore "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/blobstore/fakes"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
fakejobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor/fakes"
fakenotif "github.com/cloudfoundry/bosh-agent/notification/fakes"
fakeplatform "github.com/cloudfoundry/bosh-agent/platform/fakes"
boshntp "github.com/cloudfoundry/bosh-agent/platform/ntp"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"
fakeblobstore "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/blobstore/fakes"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
)

var _ = Describe("concreteFactory", func() {
Expand Down
4 changes: 2 additions & 2 deletions agent/action/drain.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (

boshas "github.com/cloudfoundry/bosh-agent/agent/applier/applyspec"
boshdrain "github.com/cloudfoundry/bosh-agent/agent/drain"
boshjobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor"
boshnotif "github.com/cloudfoundry/bosh-agent/notification"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
boshjobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor"
boshnotif "github.com/cloudfoundry/bosh-agent/notification"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion agent/action/drain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
fakeas "github.com/cloudfoundry/bosh-agent/agent/applier/applyspec/fakes"
boshdrain "github.com/cloudfoundry/bosh-agent/agent/drain"
fakedrain "github.com/cloudfoundry/bosh-agent/agent/drain/fakes"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
fakejobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor/fakes"
fakenotif "github.com/cloudfoundry/bosh-agent/notification/fakes"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/fetch_logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"errors"
"path/filepath"

boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories"
boshblob "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/blobstore"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshcmd "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/fileutil"
boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories"
)

type FetchLogsAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/fetch_logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
. "github.com/cloudfoundry/bosh-agent/internal/github.com/onsi/gomega"

. "github.com/cloudfoundry/bosh-agent/agent/action"
boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories"
boshassert "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/assert"
fakeblobstore "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/blobstore/fakes"
fakecmd "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/fileutil/fakes"
boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories"
)

var _ = Describe("FetchLogsAction", func() {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/get_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"errors"

boshas "github.com/cloudfoundry/bosh-agent/agent/applier/applyspec"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshjobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor"
boshntp "github.com/cloudfoundry/bosh-agent/platform/ntp"
boshvitals "github.com/cloudfoundry/bosh-agent/platform/vitals"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
)

type GetStateAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/get_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (
. "github.com/cloudfoundry/bosh-agent/agent/action"
boshas "github.com/cloudfoundry/bosh-agent/agent/applier/applyspec"
fakeas "github.com/cloudfoundry/bosh-agent/agent/applier/applyspec/fakes"
boshassert "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/assert"
fakejobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor/fakes"
boshntp "github.com/cloudfoundry/bosh-agent/platform/ntp"
fakentp "github.com/cloudfoundry/bosh-agent/platform/ntp/fakes"
boshvitals "github.com/cloudfoundry/bosh-agent/platform/vitals"
fakevitals "github.com/cloudfoundry/bosh-agent/platform/vitals/fakes"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"
boshassert "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/assert"
)

var _ = Describe("GetState", func() {
Expand Down
4 changes: 2 additions & 2 deletions agent/action/list_disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package action
import (
"errors"

boshplatform "github.com/cloudfoundry/bosh-agent/platform"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
boshplatform "github.com/cloudfoundry/bosh-agent/platform"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
)

type ListDiskAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/list_disk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
. "github.com/cloudfoundry/bosh-agent/internal/github.com/onsi/gomega"

. "github.com/cloudfoundry/bosh-agent/agent/action"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
fakeplatform "github.com/cloudfoundry/bosh-agent/platform/fakes"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/migrate_disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package action
import (
"errors"

bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshplatform "github.com/cloudfoundry/bosh-agent/platform"
boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
)

type MigrateDiskAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/migrate_disk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
. "github.com/cloudfoundry/bosh-agent/internal/github.com/onsi/gomega"

. "github.com/cloudfoundry/bosh-agent/agent/action"
boshassert "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/assert"
fakeplatform "github.com/cloudfoundry/bosh-agent/platform/fakes"
boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories"
boshassert "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/assert"
)

func buildMigrateDiskAction() (platform *fakeplatform.FakePlatform, action MigrateDiskAction) {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/mount_disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package action
import (
"errors"

bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
)

type diskMounter interface {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/prepare_configure_networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package action
import (
"errors"

bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshplatform "github.com/cloudfoundry/bosh-agent/platform"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
)

type PrepareConfigureNetworksAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/prepare_network_change.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"os"
"time"

boshsettings "github.com/cloudfoundry/bosh-agent/settings"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshsys "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/system"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
)

type PrepareNetworkChangeAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/prepare_network_change_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
. "github.com/cloudfoundry/bosh-agent/internal/github.com/onsi/gomega"

. "github.com/cloudfoundry/bosh-agent/agent/action"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"
fakesys "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/system/fakes"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/release_apply_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"encoding/json"
"errors"

boshplatform "github.com/cloudfoundry/bosh-agent/platform"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshplatform "github.com/cloudfoundry/bosh-agent/platform"
)

type ReleaseApplySpecAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"errors"
"path/filepath"

bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshplatform "github.com/cloudfoundry/bosh-agent/platform"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
)

type SSHAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/ssh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
. "github.com/cloudfoundry/bosh-agent/internal/github.com/onsi/gomega"

. "github.com/cloudfoundry/bosh-agent/agent/action"
boshassert "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/assert"
fakeplatform "github.com/cloudfoundry/bosh-agent/platform/fakes"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"
boshassert "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/assert"
)

func testSSHSetupWithGivenPassword(expectedPwd string) {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package action
import (
"errors"

boshjobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshjobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor"
)

type StartAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package action
import (
"errors"

boshjobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshjobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor"
)

type StopAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/unmount_disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"errors"
"fmt"

bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshplatform "github.com/cloudfoundry/bosh-agent/platform"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
)

type UnmountDiskAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/unmount_disk_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package action_test

import (
boshassert "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/assert"
fakeplatform "github.com/cloudfoundry/bosh-agent/platform/fakes"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"
boshassert "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/assert"

. "github.com/cloudfoundry/bosh-agent/internal/github.com/onsi/ginkgo"
. "github.com/cloudfoundry/bosh-agent/internal/github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion agent/action/update_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package action
import (
"errors"

"github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
"github.com/cloudfoundry/bosh-agent/platform/cert"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
"github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
)

type UpdateSettingsAction struct {
Expand Down
2 changes: 1 addition & 1 deletion agent/action/update_settings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"errors"

"github.com/cloudfoundry/bosh-agent/agent/action"
"github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
"github.com/cloudfoundry/bosh-agent/platform/cert/fakes"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
"github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
)

var _ = Describe("UpdateSettings", func() {
Expand Down
6 changes: 3 additions & 3 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (
boshalert "github.com/cloudfoundry/bosh-agent/agent/alert"
boshas "github.com/cloudfoundry/bosh-agent/agent/applier/applyspec"
boshhandler "github.com/cloudfoundry/bosh-agent/handler"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
boshuuid "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/uuid"
boshjobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor"
boshplatform "github.com/cloudfoundry/bosh-agent/platform"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
boshsyslog "github.com/cloudfoundry/bosh-agent/syslog"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
boshuuid "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/uuid"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions agent/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ import (
fakeas "github.com/cloudfoundry/bosh-agent/agent/applier/applyspec/fakes"
fakeagent "github.com/cloudfoundry/bosh-agent/agent/fakes"
boshhandler "github.com/cloudfoundry/bosh-agent/handler"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
fakeuuid "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/uuid/fakes"
"github.com/cloudfoundry/bosh-agent/internal/github.com/pivotal-golang/clock/fakeclock"
fakejobsuper "github.com/cloudfoundry/bosh-agent/jobsupervisor/fakes"
fakembus "github.com/cloudfoundry/bosh-agent/mbus/fakes"
fakeplatform "github.com/cloudfoundry/bosh-agent/platform/fakes"
boshvitals "github.com/cloudfoundry/bosh-agent/platform/vitals"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"
boshsyslog "github.com/cloudfoundry/bosh-agent/syslog"
fakesyslog "github.com/cloudfoundry/bosh-agent/syslog/fakes"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
fakeuuid "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/uuid/fakes"
"github.com/cloudfoundry/bosh-agent/internal/github.com/pivotal-golang/clock/fakeclock"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion agent/alert/monit_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"time"

boshsettings "github.com/cloudfoundry/bosh-agent/settings"
"github.com/cloudfoundry/bosh-agent/internal/github.com/pivotal-golang/clock"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
)

type MonitAdapter interface {
Expand Down
2 changes: 1 addition & 1 deletion agent/alert/monit_adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
. "github.com/cloudfoundry/bosh-agent/internal/github.com/onsi/gomega"

. "github.com/cloudfoundry/bosh-agent/agent/alert"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"
"github.com/cloudfoundry/bosh-agent/internal/github.com/pivotal-golang/clock/fakeclock"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"

boshsettings "github.com/cloudfoundry/bosh-agent/settings"
)
Expand Down
4 changes: 2 additions & 2 deletions agent/alert/ssh_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package alert
import (
"regexp"

boshsettings "github.com/cloudfoundry/bosh-agent/settings"
boshsyslog "github.com/cloudfoundry/bosh-agent/syslog"
bosherr "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/errors"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
boshuuid "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/uuid"
"github.com/cloudfoundry/bosh-agent/internal/github.com/pivotal-golang/clock"
boshsettings "github.com/cloudfoundry/bosh-agent/settings"
boshsyslog "github.com/cloudfoundry/bosh-agent/syslog"
)

var syslogMessageExpressions = map[*regexp.Regexp]string{
Expand Down
4 changes: 2 additions & 2 deletions agent/alert/ssh_adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (

. "github.com/cloudfoundry/bosh-agent/agent/alert"

fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"
fakeuuid "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/uuid/fakes"
"github.com/cloudfoundry/bosh-agent/internal/github.com/pivotal-golang/clock/fakeclock"
fakesettings "github.com/cloudfoundry/bosh-agent/settings/fakes"

boshsyslog "github.com/cloudfoundry/bosh-agent/syslog"
boshlog "github.com/cloudfoundry/bosh-agent/internal/github.com/cloudfoundry/bosh-utils/logger"
boshsyslog "github.com/cloudfoundry/bosh-agent/syslog"
)

var _ = Describe("sshAdapter", func() {
Expand Down
Loading

0 comments on commit 8fc285b

Please sign in to comment.