Skip to content

Commit

Permalink
update error message when merging config fails (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
neoaggelos authored May 17, 2024
1 parent fce15cb commit 4ce1b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/k8s/pkg/k8sd/database/cluster_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func SetClusterConfig(ctx context.Context, tx *sql.Tx, new types.ClusterConfig)
}
config, err := types.MergeClusterConfig(old, new)
if err != nil {
return types.ClusterConfig{}, fmt.Errorf("failed to update cluster config: %w", err)
return types.ClusterConfig{}, fmt.Errorf("failed to merge new cluster configuration options: %w", err)
}

b, err := json.Marshal(config)
Expand Down

0 comments on commit 4ce1b9b

Please sign in to comment.