Skip to content

Commit

Permalink
Clean up error message grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
jhiemstrawisc committed Dec 17, 2024
1 parent e3e2fa0 commit 4816b66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lotman/lotman_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type (
LotPath struct {
Path string `json:"path" mapstructure:"Path"`
Recursive bool `json:"recursive" mapstructure:"Recursive"`
LotName string `json:"lot_name,omitempty"` // Not used when creating lots, but some queries will populate
LotName string `json:"lot_name,omitempty"` // Not used when creating lots, but some queries will populate the field
}

LotValueMapInt struct {
Expand Down Expand Up @@ -845,7 +845,7 @@ func initLots(nsAds []server_structs.NamespaceAdV2) ([]Lot, error) {
// without allowing discovered lots to gain rootly status.
federationIssuer, err := getFederationIssuer()
if err != nil {
return internalLots, errors.Wrap(err, "Unable to determine federation issuer which is needed by Lotman to determine lot ownership")
return internalLots, errors.Wrap(err, "Unable to determine the federation's issuer, which is needed by Lotman to determine lot ownership")
}
if federationIssuer == "" {
return internalLots, errors.New("The detected federation issuer, which is needed by Lotman to determine lot/namespace ownership, is empty")
Expand Down

0 comments on commit 4816b66

Please sign in to comment.