GithubHelp home page GithubHelp logo

ddnssharp's People

Contributors

huhubun avatar

Stargazers

 avatar

Watchers

 avatar

ddnssharp's Issues

没有配置任何域名时,使用 list 命令会报错

  • 平台
    • Windows
  • 输入
    • .\ddnssharp.exe list
  • 输出
Unhandled exception. System.InvalidOperationException: Sequence contains no elements
   at System.Linq.ThrowHelper.ThrowNoElementsException()
   at System.Linq.Enumerable.Max[TSource](IEnumerable`1 source, Func`2 selector)
   at DDNSSharp.Commands.Helpers.ListCommandHelper.WriteDomainConfigItemListToConsole(List`1 configs, TextWriter output) in D:\a\DDNSSharp\DDNSSharp\src\DDNSSharp\Commands\Helpers\ListCommandHelper.cs:line 15
   at DDNSSharp.Commands.ListCommand.OnExecute(CommandLineApplication app, IConsole console) in D:\a\DDNSSharp\DDNSSharp\src\DDNSSharp\Commands\ListCommand.cs:line 16
--- End of stack trace from previous location where exception was thrown ---
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.Invoke(MethodInfo method, Object instance, Object[] arguments)
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context, CancellationToken cancellationToken)
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at DDNSSharp.Program.Main(String[] args) in D:\a\DDNSSharp\DDNSSharp\src\DDNSSharp\Program.cs:line 23
  • 预期
    • 不报错

如果同步状态是 Ignore,通过 list 命令查看到的上次同步时间是错误的

  • 平台
    • linux arm 树莓派3 Linux version 4.19.118-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1311 SMP Mon Apr 27 14:21:24 BST 2020
  • 输入
    • .\ddnssharp.exe list
  • 输出
    • 如果状态是 ignore,则最后一列上次同步时间始终不变
ip.bun.plus   | AAAA | eth0 | aliyun | Ignore | 14/11/2020 11:50:07 
ipv6.bun.plus | AAAA | eth0 | aliyun | Ignore | 14/11/2020 11:50:04 
  • 预期
    • 上次同步时间应该正确变化
    • 应该增加一列上次成功时间,便于对比

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.