Skip to content

Commit

Permalink
Remove chainlink image and version from create test config cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl committed Jul 9, 2024
1 parent eea4c5c commit 614cf92
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ var createTestConfigCmd = &cobra.Command{
if cmd.Flags().Changed(ChainlinkPostgresVersionFlag) {
version = &oc.ChainlinkPostgresVersion
}
if image != nil && version == nil || image == nil && version != nil {
fmt.Fprintf(os.Stderr, "Error: both chainlink-image and chainlink-version must be set\n")
os.Exit(1)
}
if image != nil && version != nil {
tc.ChainlinkImage = &ctf_config.ChainlinkImageConfig{
Image: image,
Expand Down

0 comments on commit 614cf92

Please sign in to comment.