Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions api/grpc/mpi/v1/files.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/grpc/mpi/v1/files.proto
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ message FileMeta {
// The hash of the file contents sha256, hex encoded
string hash = 2;
// Last modified time of the file (created time if never modified)
google.protobuf.Timestamp modified_time = 3 [(buf.validate.field).timestamp.lt_now = true];
google.protobuf.Timestamp modified_time = 3;
// The permission set associated with a particular file
string permissions = 4 [(buf.validate.field).string.pattern = "0[0-7]{3}"];
// The size of the file in bytes
Expand Down
6 changes: 0 additions & 6 deletions internal/bus/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
package bus

const (
AddInstancesTopic = "add-instances"
UpdatedInstancesTopic = "updated-instances"
DeletedInstancesTopic = "deleted-instances"
ResourceUpdateTopic = "resource-update"
NginxConfigUpdateTopic = "nginx-config-update"
InstanceHealthTopic = "instance-health"
Expand All @@ -19,11 +17,7 @@ const (
ConnectionResetTopic = "connection-reset"
ConfigApplyRequestTopic = "config-apply-request"
WriteConfigSuccessfulTopic = "write-config-successful"
ReloadSuccessfulTopic = "reload-successful"
EnableWatchersTopic = "enable-watchers"
ConfigApplyFailedTopic = "config-apply-failed"
ConfigApplyCompleteTopic = "config-apply-complete"
RollbackWriteTopic = "rollback-write"
DataPlaneHealthRequestTopic = "data-plane-health-request"
DataPlaneHealthResponseTopic = "data-plane-health-response"
APIActionRequestTopic = "api-action-request"
Expand Down
4 changes: 2 additions & 2 deletions internal/file/file_manager_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
//counterfeiter:generate . fileOperator

//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6@v6.8.1 -generate
//counterfeiter:generate . fileManagerServiceInterface
//counterfeiter:generate . FileManagerServiceInterface

//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6@v6.8.1 -generate
//counterfeiter:generate . fileServiceOperatorInterface
Expand Down Expand Up @@ -86,7 +86,7 @@ type (
UpdateClient(ctx context.Context, fileServiceClient mpi.FileServiceClient)
}

fileManagerServiceInterface interface {
FileManagerServiceInterface interface {
ConfigApply(ctx context.Context, configApplyRequest *mpi.ConfigApplyRequest) (writeStatus model.WriteStatus,
err error)
Rollback(ctx context.Context, instanceID string) error
Expand Down
Loading
Loading