Skip to content

Commit

Permalink
build(deps): bump github.com/open-amt-cloud-toolkit/go-wsman-messages/v2
Browse files Browse the repository at this point in the history
Bumps [github.com/open-amt-cloud-toolkit/go-wsman-messages/v2](https://github.com/open-amt-cloud-toolkit/go-wsman-messages) from 2.5.2 to 2.7.1.
- [Release notes](https://github.com/open-amt-cloud-toolkit/go-wsman-messages/releases)
- [Changelog](https://github.com/open-amt-cloud-toolkit/go-wsman-messages/blob/main/.releaserc.json)
- [Commits](open-amt-cloud-toolkit/go-wsman-messages@v2.5.2...v2.7.1)

---
updated-dependencies:
- dependency-name: github.com/open-amt-cloud-toolkit/go-wsman-messages/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and = committed Jun 5, 2024
1 parent a73486d commit 25da7ec
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/gorilla/websocket v1.5.1
github.com/hirochachacha/go-smb2 v1.1.0
github.com/ilyakaznacheev/cleanenv v1.5.0
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.5.2
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.7.1
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.9.0
golang.org/x/sys v0.20.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ github.com/ilyakaznacheev/cleanenv v1.5.0 h1:0VNZXggJE2OYdXE87bfSSwGxeiGt9moSR2l
github.com/ilyakaznacheev/cleanenv v1.5.0/go.mod h1:a5aDzaJrLCQZsazHol1w8InnDcOX0OColm64SlIi6gk=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.5.2 h1:FDZoYaUfqidDuybd3muerAscJonjSMzcU3J+Ayo7i6I=
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.5.2/go.mod h1:jdnbKqKRs4AYG8H7RZF/ss45D93+CfGY7m8esTTbDTs=
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.7.1 h1:NTSZCy/fAd0susl18MyLxDM3WHAa9iCRMWS4WtR3gaA=
github.com/open-amt-cloud-toolkit/go-wsman-messages/v2 v2.7.1/go.mod h1:jdnbKqKRs4AYG8H7RZF/ss45D93+CfGY7m8esTTbDTs=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
Expand Down
2 changes: 1 addition & 1 deletion internal/local/amt/wsman.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (g *GoWSMANMessages) GetCredentialRelationships() ([]credential.CredentialC
if err != nil {
return nil, err
}
return response.Body.PullResponse.Items, nil
return response.Body.PullResponse.Items.CredentialContext, nil
}
func (g *GoWSMANMessages) GetConcreteDependencies() ([]concrete.ConcreteDependency, error) {
response, err := g.wsmanMessages.CIM.ConcreteDependency.Enumerate()
Expand Down
1 change: 1 addition & 0 deletions samples/dotnet/client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ static void Main(string[] args)
// string res = "activate -u wss://192.168.1.96/activate -n -profile Test_Profile";
// string res = "amtinfo";

res = "amtinfo";
IntPtr output = IntPtr.Zero;
Console.WriteLine("... CALLING rpcExec with argument string: " + res);
returnCode = rpcExec(Encoding.ASCII.GetBytes(res), ref output);
Expand Down

0 comments on commit 25da7ec

Please sign in to comment.