diff --git a/flow/activities/maintenance_activity.go b/flow/activities/maintenance_activity.go index d0caad106b..ea1de1de00 100644 --- a/flow/activities/maintenance_activity.go +++ b/flow/activities/maintenance_activity.go @@ -3,7 +3,6 @@ package activities import ( "context" "fmt" - "google.golang.org/protobuf/types/known/timestamppb" "log/slog" "time" @@ -11,6 +10,7 @@ import ( "github.com/jackc/pgx/v5/pgxpool" "go.temporal.io/sdk/activity" "go.temporal.io/sdk/client" + "google.golang.org/protobuf/types/known/timestamppb" "github.com/PeerDB-io/peer-flow/alerting" "github.com/PeerDB-io/peer-flow/generated/protos" diff --git a/flow/cmd/maintenance.go b/flow/cmd/maintenance.go index 05662f3c20..435a41b63f 100644 --- a/flow/cmd/maintenance.go +++ b/flow/cmd/maintenance.go @@ -5,10 +5,10 @@ import ( "crypto/tls" "errors" "fmt" - "github.com/aws/smithy-go/ptr" "log/slog" "os" + "github.com/aws/smithy-go/ptr" "go.temporal.io/sdk/client" "google.golang.org/grpc" "google.golang.org/grpc/credentials" @@ -32,9 +32,9 @@ type MaintenanceCLIParams struct { } type StartMaintenanceResult struct { + SkippedReason *string `json:"skippedReason,omitempty"` APIVersion string `json:"apiVersion,omitempty"` CLIVersion string `json:"cliVersion,omitempty"` - SkippedReason *string `json:"skippedReason,omitempty"` Skipped bool `json:"skipped,omitempty"` }