Skip to content

Commit

Permalink
grammar, than to then (#1937)
Browse files Browse the repository at this point in the history
## Description

In `src/types/k8s.go` we are using than when it should be then for
correct grammar

## Related Issue

Fixes #1936 
<!-- or -->
Relates to #

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed

---------

Signed-off-by: Case Wylie <[email protected]>
  • Loading branch information
cmwylie19 authored Aug 1, 2023
1 parent 5f4151f commit f4e5c8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/types/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ type InstalledChart struct {
type GitServerInfo struct {
PushUsername string `json:"pushUsername" jsonschema:"description=Username of a user with push access to the git repository"`
PushPassword string `json:"pushPassword" jsonschema:"description=Password of a user with push access to the git repository"`
PullUsername string `json:"pullUsername" jsonschema:"description=Username of a user with pull-only access to the git repository. If not provided for an external repository than the push-user is used"`
PullPassword string `json:"pullPassword" jsonschema:"description=Password of a user with pull-only access to the git repository. If not provided for an external repository than the push-user is used"`
PullUsername string `json:"pullUsername" jsonschema:"description=Username of a user with pull-only access to the git repository. If not provided for an external repository then the push-user is used"`
PullPassword string `json:"pullPassword" jsonschema:"description=Password of a user with pull-only access to the git repository. If not provided for an external repository then the push-user is used"`

Address string `json:"address" jsonschema:"description=URL address of the git server"`
InternalServer bool `json:"internalServer" jsonschema:"description=Indicates if we are using a git server that Zarf is directly managing"`
Expand Down
4 changes: 2 additions & 2 deletions src/ui/lib/api-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ export interface GitServerInfo {
internalServer: boolean;
/**
* Password of a user with pull-only access to the git repository. If not provided for an
* external repository than the push-user is used
* external repository then the push-user is used
*/
pullPassword: string;
/**
* Username of a user with pull-only access to the git repository. If not provided for an
* external repository than the push-user is used
* external repository then the push-user is used
*/
pullUsername: string;
/**
Expand Down

0 comments on commit f4e5c8b

Please sign in to comment.