Skip to content

Commit

Permalink
Try to truncate import path
Browse files Browse the repository at this point in the history
  • Loading branch information
xlucas committed Jan 27, 2025
1 parent fec6930 commit c43e1a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions proto/autoscaling/kubernetes/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ proto_library(
"recommender.proto",
],
visibility = ["//visibility:public"],
dep = [
"@com_google_protobuf//:timestamp_proto",
],
)
4 changes: 2 additions & 2 deletions proto/autoscaling/kubernetes/autoscaling.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ option go_package = "github.com/DataDog/agent-payload/v5/autoscaling/kubernetes"

package datadog.autoscaling.kubernetes;

import "github.com/DataDog/agent-payload/v5/proto/autoscaling/kubernetes/common.proto";
import "proto/autoscaling/kubernetes/common.proto";

import "google/protobuf/timestamp.proto";
import "github.com/chrusty/protoc-gen-jsonschema/options.proto";
Expand Down Expand Up @@ -35,7 +35,7 @@ message WorkloadHorizontalValues {
option (protoc.gen.jsonschema.message_options).ignore = true;

Error error = 1; // Error is the error message if new values cannot be calculated

WorkloadHorizontalData manual = 2; // Manual is the manual override values for the workload
WorkloadHorizontalData auto = 3; // Auto is the periodic recommendation values for the workload
}
Expand Down
4 changes: 2 additions & 2 deletions proto/autoscaling/kubernetes/recommender.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ option go_package = "github.com/DataDog/agent-payload/v5/autoscaling/kubernetes"

package datadog.autoscaling.kubernetes;

import "github.com/DataDog/agent-payload/v5/proto/autoscaling/kubernetes/common.proto";
import "proto/autoscaling/kubernetes/common.proto";

import "google/protobuf/timestamp.proto";
import "google/protobuf/struct.proto";
Expand Down Expand Up @@ -72,4 +72,4 @@ message WorkloadRecommendationReply {
optional int32 upperBoundReplicas = 5; // UpperBoundReplicas is the number of replicas based on upperBound input
repeated WorkloadRecommendationTarget observedTargets = 6; // ObservedTargets is the list of observed targets (only the targetValue will be set)
string reason = 7; // Reason explains recommender decision
}
}

0 comments on commit c43e1a1

Please sign in to comment.