Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix

p0nyf38fc0b51532
diff --git a/action/api.go b/action/api.go
index 8f596e7d14..450d7f9df4 100644
--- a/action/api.go
+++ b/action/api.go
@@ -307,7 +307,6 @@ func (c *Client) batchRunTasks(r *v1pb.BatchRunTasksRequest) (*v1pb.BatchRunTask
body, err := c.doRequest(req)
if err != nil {
return nil, errors.Wrapf(err, "failed to batch run tasks")
-
}
resp := &v1pb.BatchRunTasksResponse{}
if err := protojsonUnmarshaler.Unmarshal(body, resp); err != nil {
diff --git a/action/main.go b/action/main.go
index f6f395dc04..b304f79992 100644
--- a/action/main.go
+++ b/action/main.go
@@ -265,16 +265,16 @@ func runAndWaitForPlanChecks(ctx context.Context, client *Client, planName strin
}
}
if failedCount > 0 {
- return errors.Errorf("found failed plan checks. View on Bytebase.")
+ return errors.Errorf("found failed plan checks. view on Bytebase")
}
if canceledCount > 0 {
- return errors.Errorf("found canceled plan checks. View on Bytebase.")
+ return errors.Errorf("found canceled plan checks. view on Bytebase")
}
if errorCount > 0 {
- return errors.Errorf("found error plan checks. View on Bytebase.")
+ return errors.Errorf("found error plan checks. view on Bytebase")
}
if warningCount > 0 && Config.CheckPlan == "FAIL_ON_WARNING" {
- return errors.Errorf("found warning plan checks. View on Bytebase.")
+ return errors.Errorf("found warning plan checks. view on Bytebase")
}
if runningCount == 0 {
break
@@ -435,10 +435,10 @@ func waitForRollout(ctx context.Context, client *Client, rolloutPreview *v1pb.Ro
}
}
if foundFailed {
- return errors.Errorf("found failed tasks. View on Bytebase.")
+ return errors.Errorf("found failed tasks. view on Bytebase")
}
if foundCanceled {
- return errors.Errorf("found canceled tasks. View on Bytebase.")
+ return errors.Errorf("found canceled tasks. view on Bytebase")
}
if done {
slog.Info("stage completed", "stage", stage.Environment)