Skip to content

Commit

Permalink
add comments to StorageConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
korotkov-aerospike committed Jan 29, 2025
1 parent 242f5c4 commit 892f5c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/dto/restore_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func (r *RestoreRequest) ToModel(config *model.Config) (*model.RestoreRequest, e
}

// DestinationClusterConfig aggregates the destination cluster configuration.
// It is intended to be embedded into DTOs that require Cluster configuration.
type DestinationClusterConfig struct {
// The details of the Aerospike destination cluster.
// Mutually exclusive with 'destination-name'.
Expand Down Expand Up @@ -160,6 +161,7 @@ func (c *DestinationClusterConfig) ToModel(config *model.Config) (*model.Aerospi
}

// StorageConfig aggregates the storage configuration.
// It is intended to be embedded into DTOs that require Storage configuration.
type StorageConfig struct {
// The details of the storage configuration.
// Mutually exclusive with 'source-name'.
Expand Down

0 comments on commit 892f5c8

Please sign in to comment.