Skip to content

Commit

Permalink
fix: typo (#189)
Browse files Browse the repository at this point in the history
fix some typo
  • Loading branch information
zackshen authored Mar 5, 2024
1 parent d18b21f commit 2762cd3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api/src/errors_internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub struct ApiErrorStruct {
/// error variant has a "code" (e.g `publishPayloadTooLarge`), "message" (a
/// human readable description of the error), and a "status code" (the HTTP
/// status code associated with the error). All three of these fields are
/// publically visible to users, and thus should not contain any sensitive
/// publicly visible to users, and thus should not contain any sensitive
/// information.
///
/// The variant name (e.g `NotFound`) will be used as both the variant name, and
Expand Down
2 changes: 1 addition & 1 deletion api/src/provenance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub fn verify(
let (_, pem) = parse_x509_pem(FULCIO_CERT)?;
let (_, fulcio) = parse_x509_certificate(&pem.contents)?;

// Verify that the signing certifcate is signed by
// Verify that the signing certificate is signed by
// the certificate chain.
let issuer_pub_key = fulcio.public_key();
x509.verify_signature(Some(issuer_pub_key))?;
Expand Down
6 changes: 3 additions & 3 deletions api/src/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ pub mod tests {
Bytes::from(gz_bytes)
}

pub fn create_case_insenstive_mock_tarball() -> Bytes {
pub fn create_case_insensitive_mock_tarball() -> Bytes {
let mut tar_bytes = Vec::new();
let mut tar = tar::Builder::new(&mut tar_bytes);
tar
Expand Down Expand Up @@ -808,9 +808,9 @@ pub mod tests {
}

#[tokio::test]
async fn case_insentive_duplicate() {
async fn case_insensitive_duplicate() {
let t = TestSetup::new().await;
let bytes = create_case_insenstive_mock_tarball();
let bytes = create_case_insensitive_mock_tarball();
let task = process_tarball_setup(&t, bytes).await;
assert_eq!(task.status, PublishingTaskStatus::Failure, "{task:#?}");
let error = task.error.unwrap();
Expand Down
2 changes: 1 addition & 1 deletion frontend/docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,5 @@ permissions they actually request.
You can read more about this in
[the GitHub documentation](https://docs.github.com/en/apps/using-github-apps/authorizing-github-apps#about-github-apps-acting-on-your-behalf)
and in
[this discusion thread](https://github.com/orgs/community/discussions/37117) on
[this discussion thread](https://github.com/orgs/community/discussions/37117) on
the official GitHub Discussions feedback forum.
2 changes: 1 addition & 1 deletion frontend/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ body .ddoc #sidepanel a:active {
background-color: theme("colors.cyan.200");
}

/* !important seems necessary for taking precendent over current ddoc styling */
/* !important seems necessary for taking precedent over current ddoc styling */

body .ddoc .markdown h1 {
@apply mt-8 -mx-6 px-6 md:mx-0 md:px-0 text-3xl md:text-4xl font-semibold !important;
Expand Down
2 changes: 1 addition & 1 deletion terraform/cloud_run_api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ resource "google_cloud_run_service_iam_member" "api_public_policy" {
resource "google_cloud_run_v2_service" "registry_api_tasks" {
name = "registry-api-tasks"
location = "us-central1"
ingress = "INGRESS_TRAFFIC_INTERNAL_ONLY" # only acessed by Cloud Tasks
ingress = "INGRESS_TRAFFIC_INTERNAL_ONLY" # only accessed by Cloud Tasks

template {
service_account = google_service_account.registry_api.email
Expand Down

0 comments on commit 2762cd3

Please sign in to comment.