Skip to content

Commit 98a1d6e

Browse files
authored
fix: fix typo on missing field error (#124)
1 parent ead04e4 commit 98a1d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongodbatlas/private_endpoints.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (s *PrivateEndpointsServiceOp) Delete(ctx context.Context, groupID, private
135135
return nil, NewArgError("groupID", "must be set")
136136
}
137137
if privateLinkID == "" {
138-
return nil, NewArgError("whitelistEntry", "must be set")
138+
return nil, NewArgError("privateLinkID", "must be set")
139139
}
140140

141141
basePath := fmt.Sprintf(privateEndpointsPath, groupID)

0 commit comments

Comments
 (0)