Regenerate examples
This commit is contained in:
@@ -1 +1 @@
|
||||
0.0.1-alpha.1709845220+f294595e.dirty
|
||||
0.0.1-alpha.1709848295+3427e611.dirty
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/blang/semver"
|
||||
"github.com/pulumi/pulumi-docker-native/sdk/go/internal"
|
||||
"github.com/pulumi/pulumi-docker-native/sdk/go/docker/internal"
|
||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
||||
)
|
||||
|
||||
@@ -75,7 +75,7 @@ func PkgVersion() (semver.Version, error) {
|
||||
}
|
||||
type sentinal struct{}
|
||||
pkgPath := reflect.TypeOf(sentinal{}).PkgPath()
|
||||
re := regexp.MustCompile("^github.com/pulumi/pulumi-docker-native/sdk/go(/v\\d+)?")
|
||||
re := regexp.MustCompile("^.*/pulumi-docker-native/sdk(/v\\d+)?")
|
||||
if match := re.FindStringSubmatch(pkgPath); match != nil {
|
||||
vStr := match[1]
|
||||
if len(vStr) == 0 { // If the version capture group was empty, default to v1.
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"context"
|
||||
"reflect"
|
||||
|
||||
"github.com/pulumi/pulumi-docker-native/sdk/go/internal"
|
||||
"github.com/pulumi/pulumi-docker-native/sdk/go/docker/internal"
|
||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
|
||||
)
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"reflect"
|
||||
|
||||
"errors"
|
||||
"github.com/pulumi/pulumi-docker-native/sdk/go/internal"
|
||||
"github.com/pulumi/pulumi-docker-native/sdk/go/docker/internal"
|
||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
|
||||
)
|
||||
Reference in New Issue
Block a user