Commit 5b8178cd by Torkel Ödegaard

fixed gofmt issue after go update

parent b95d64e7
...@@ -44,8 +44,8 @@ func TestAlertNotificationSQLAccess(t *testing.T) { ...@@ -44,8 +44,8 @@ func TestAlertNotificationSQLAccess(t *testing.T) {
s := *query.Result s := *query.Result
cmd := models.SetAlertNotificationStateToPendingCommand{ cmd := models.SetAlertNotificationStateToPendingCommand{
Id: s.Id, Id: s.Id,
Version: s.Version, Version: s.Version,
AlertRuleStateUpdatedVersion: s.AlertRuleStateUpdatedVersion, AlertRuleStateUpdatedVersion: s.AlertRuleStateUpdatedVersion,
} }
...@@ -100,8 +100,8 @@ func TestAlertNotificationSQLAccess(t *testing.T) { ...@@ -100,8 +100,8 @@ func TestAlertNotificationSQLAccess(t *testing.T) {
s := *query.Result s := *query.Result
s.Version = 1000 s.Version = 1000
cmd := models.SetAlertNotificationStateToPendingCommand{ cmd := models.SetAlertNotificationStateToPendingCommand{
Id: s.NotifierId, Id: s.NotifierId,
Version: s.Version, Version: s.Version,
AlertRuleStateUpdatedVersion: s.AlertRuleStateUpdatedVersion, AlertRuleStateUpdatedVersion: s.AlertRuleStateUpdatedVersion,
} }
err := SetAlertNotificationStateToPendingCommand(context.Background(), &cmd) err := SetAlertNotificationStateToPendingCommand(context.Background(), &cmd)
...@@ -111,8 +111,8 @@ func TestAlertNotificationSQLAccess(t *testing.T) { ...@@ -111,8 +111,8 @@ func TestAlertNotificationSQLAccess(t *testing.T) {
Convey("Updating existing state to pending with incorrect version since alert rule state update version is higher", func() { Convey("Updating existing state to pending with incorrect version since alert rule state update version is higher", func() {
s := *query.Result s := *query.Result
cmd := models.SetAlertNotificationStateToPendingCommand{ cmd := models.SetAlertNotificationStateToPendingCommand{
Id: s.Id, Id: s.Id,
Version: s.Version, Version: s.Version,
AlertRuleStateUpdatedVersion: 1000, AlertRuleStateUpdatedVersion: 1000,
} }
err := SetAlertNotificationStateToPendingCommand(context.Background(), &cmd) err := SetAlertNotificationStateToPendingCommand(context.Background(), &cmd)
...@@ -125,8 +125,8 @@ func TestAlertNotificationSQLAccess(t *testing.T) { ...@@ -125,8 +125,8 @@ func TestAlertNotificationSQLAccess(t *testing.T) {
s := *query.Result s := *query.Result
s.Version = 1000 s.Version = 1000
cmd := models.SetAlertNotificationStateToPendingCommand{ cmd := models.SetAlertNotificationStateToPendingCommand{
Id: s.Id, Id: s.Id,
Version: s.Version, Version: s.Version,
AlertRuleStateUpdatedVersion: s.AlertRuleStateUpdatedVersion, AlertRuleStateUpdatedVersion: s.AlertRuleStateUpdatedVersion,
} }
err := SetAlertNotificationStateToPendingCommand(context.Background(), &cmd) err := SetAlertNotificationStateToPendingCommand(context.Background(), &cmd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment