Skip to content

Commit

Permalink
Merge pull request #3 from iamjanr/fix/image_tag
Browse files Browse the repository at this point in the history
Fix image tag from sha to version
  • Loading branch information
iamjanr committed Dec 29, 2022
2 parents 34987bf + c9e583f commit 2de6ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/internal/providers/docker/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func runArgsForNode(node *config.Node, clusterIPFamily config.ClusterIPFamily, n
}

// finally, specify the image to run
return append(args, "stratio-capi-image:"+strings.Split(strings.Split(node.Image, "@")[1], ":")[1]), nil
return append(args, "stratio-capi-image:"+strings.Split(strings.Split(node.Image, "@")[0], ":")[1]), nil
}

func runArgsForLoadBalancer(cfg *config.Cluster, name string, args []string) ([]string, error) {
Expand Down

0 comments on commit 2de6ca7

Please sign in to comment.