Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
chengwang86 committed Mar 7, 2017
1 parent 2f32459 commit 2303f95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/migration/migrator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func setUp() {
// register sample plugin into test
log.SetLevel(log.DebugLevel)
trace.Logger.Level = log.DebugLevel
version.MaxPluginVersion = 3
version.MaxPluginVersion = 4

if err := manager.Migrator.Register(version.MaxPluginVersion, manager.ApplianceConfigure, &plugin1.ApplianceStopSignalRename{}); err != nil {
log.Errorf("Failed to register plugin %s:%d, %s", manager.ApplianceConfigure, version.MaxPluginVersion, err)
Expand Down
2 changes: 1 addition & 1 deletion lib/migration/plugins/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ package plugins

// import all plugin packages here to register plugins
import (
_ "github.com/vmware/vic/pkg/version/plugin1"
_ "github.com/vmware/vic/pkg/version/plugin2"
_ "github.com/vmware/vic/pkg/version/plugin3"
)
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var (
State string

// MaxPluginVersion must be increased to add new plugin and make sure the new plugin version is same to this value
MaxPluginVersion = 2
MaxPluginVersion = 3

v bool
)
Expand Down

0 comments on commit 2303f95

Please sign in to comment.