Skip to content

Commit

Permalink
Fix vendor-data switching
Browse files Browse the repository at this point in the history
  • Loading branch information
asaif committed Oct 2, 2016
1 parent 5a67d69 commit 178f93b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ import (
const LOGFILE = "/var/log/inizer.log"

func ActUponAction() {
var operation bool
action, err := inize.GetVendorData()
if err != nil {
log.Fatal(err)
}
switch operation {
switch {
case strings.Contains(action, "SetAnchor"):
inize.AssignAnchorIP()
fallthrough
Expand Down

0 comments on commit 178f93b

Please sign in to comment.