From 68d7d39cc5efe3206ac1be0991551c0fcb3f875c Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:20:58 -0700 Subject: [PATCH 1/2] fix: update variable correctly Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- internal/ent/hooks/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ent/hooks/user.go b/internal/ent/hooks/user.go index 2ed818b6..afa22750 100644 --- a/internal/ent/hooks/user.go +++ b/internal/ent/hooks/user.go @@ -59,7 +59,7 @@ func HookUser() ent.Hook { if m.Op().Is(ent.OpCreate) { displayName, _ := m.DisplayName() if displayName == "" { - displayName := strings.Split(email, "@")[0] + displayName = strings.Split(email, "@")[0] m.SetDisplayName(displayName) } From 675e7b34df685d9f57ae72ae0561da81ae7b05d0 Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:07:31 -0700 Subject: [PATCH 2/2] lint in SAT Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- .buildkite/pipeline.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index a343a276..4f5d292c 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -45,6 +45,7 @@ steps: agents: queue: $LARGE_RUNNER_QUEUE size: $RUNNER_LARGE + location: "SAT" cancel_on_build_failing: true timeout_in_minutes: 20 key: "lint"