fix: show unknown insteaf of empty for missing version
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8992050409
commit
7a0d18ceb6
|
@ -112,7 +112,7 @@ func GetDeployedServicesByName(ctx context.Context, cl *dockerclient.Client, sta
|
||||||
|
|
||||||
// IsDeployed chekcks whether an appp is deployed or not.
|
// IsDeployed chekcks whether an appp is deployed or not.
|
||||||
func IsDeployed(ctx context.Context, cl *dockerclient.Client, stackName string) (bool, string, error) {
|
func IsDeployed(ctx context.Context, cl *dockerclient.Client, stackName string) (bool, string, error) {
|
||||||
version := ""
|
version := "unknown"
|
||||||
isDeployed := false
|
isDeployed := false
|
||||||
|
|
||||||
filter := filters.NewArgs()
|
filter := filters.NewArgs()
|
||||||
|
|
Loading…
Reference in New Issue