Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Nov 20, 2024
1 parent 447120a commit f998000
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cmd/ctrlc/root/api/create/releasechannel/release-channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ func NewReleaseChannelCmd() *cobra.Command {
}

resp, err := client.CreateReleaseChannel(cmd.Context(), api.CreateReleaseChannelJSONRequestBody{
Name: name,
DeploymentId: deploymentID,
Description: &description,
Name: name,
DeploymentId: deploymentID,
Description: &description,
ReleaseFilter: releaseFilter,
})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/ctrlc/root/api/delete/environment/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func NewDeleteEnvironmentCmd() *cobra.Command {
if err != nil {
return fmt.Errorf("failed to delete environment API client: %w", err)
}

if environmentId != "" {
resp, err := client.DeleteEnvironment(cmd.Context(), environmentId)
if err != nil {
Expand Down
1 change: 0 additions & 1 deletion pkg/agent/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ func WithHeader(key string, value string) func(*Agent) {
}
}


func WithAssociatedResources(resources []string) func(*Agent) {
return func(a *Agent) {
a.associatedResources = resources
Expand Down
1 change: 0 additions & 1 deletion pkg/payloads/agent_heartbeat_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f998000

Please sign in to comment.