Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code clean up #685

Merged
merged 2 commits into from
Oct 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .fastly/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ config_version = 2
[fastly]
api_endpoint = "https://api.fastly.com"

[cli]
remote_config = "https://developer.fastly.com/api/internal/cli-config"
ttl = "5m"

[language]
[language.go]
tinygo_constraint = ">= 0.24.0-0" # NOTE -0 indicates to the CLI's semver package that we accept pre-releases (TinyGo users commonly use pre-releases).
Expand Down
8 changes: 1 addition & 7 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,6 @@ type CLI struct {
Version string `toml:"version"`
}

// User represents user specific configuration.
type User struct {
Token string `toml:"token"`
Email string `toml:"email"`
}

// Viceroy represents viceroy specific configuration.
type Viceroy struct {
LastChecked string `toml:"last_checked"`
Expand Down Expand Up @@ -268,7 +262,7 @@ func createConfigDir(path string) error {
return nil
}

// File represents our dynamic application toml configuration.
// File represents our application toml configuration.
type File struct {
CLI CLI `toml:"cli"`
ConfigVersion int `toml:"config_version"`
Expand Down